From c451ca33ce6609d8fac0529a84c8396c80fdbfa1 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 15 May 2020 18:10:16 -0700 Subject: 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. --- src/wasm/wasm-binary.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3