diff options
author | Alon Zakai <azakai@google.com> | 2020-05-15 18:10:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 18:10:16 -0700 |
commit | c451ca33ce6609d8fac0529a84c8396c80fdbfa1 (patch) | |
tree | 4502122402f15f8d335a934d7f538867e150d039 | |
parent | be61c69e3921d969fdb4743d31b289429aa280c0 (diff) | |
download | binaryen-c451ca33ce6609d8fac0529a84c8396c80fdbfa1.tar.gz binaryen-c451ca33ce6609d8fac0529a84c8396c80fdbfa1.tar.bz2 binaryen-c451ca33ce6609d8fac0529a84c8396c80fdbfa1.zip |
Don't warn 'skipping debug location info' (#2855)
That is only for the old source maps logic, not DWARF, and it is
only useful to debug source maps (it's not actually useful for
regular users that see the message) which we do not plan to do
since DWARF is the future.
-rw-r--r-- | src/wasm/wasm-binary.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index 3181288f8..ca9f44700 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp @@ -1652,10 +1652,6 @@ void WasmBinaryBuilder::readNextDebugLocation() { } while (nextDebugLocation.first && nextDebugLocation.first <= pos) { - if (nextDebugLocation.first < pos) { - std::cerr << "skipping debug location info for 0x"; - std::cerr << std::hex << nextDebugLocation.first << std::dec << std::endl; - } debugLocation.clear(); // use debugLocation only for function expressions if (currFunction) { |