summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-05-15 18:10:16 -0700
committerGitHub <noreply@github.com>2020-05-15 18:10:16 -0700
commitc451ca33ce6609d8fac0529a84c8396c80fdbfa1 (patch)
tree4502122402f15f8d335a934d7f538867e150d039
parentbe61c69e3921d969fdb4743d31b289429aa280c0 (diff)
downloadbinaryen-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.cpp4
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) {