Skip to content

Commit c451ca3

Browse files
authored
Don't warn 'skipping debug location info' (WebAssembly#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.
1 parent be61c69 commit c451ca3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/wasm/wasm-binary.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,10 +1652,6 @@ void WasmBinaryBuilder::readNextDebugLocation() {
16521652
}
16531653

16541654
while (nextDebugLocation.first && nextDebugLocation.first <= pos) {
1655-
if (nextDebugLocation.first < pos) {
1656-
std::cerr << "skipping debug location info for 0x";
1657-
std::cerr << std::hex << nextDebugLocation.first << std::dec << std::endl;
1658-
}
16591655
debugLocation.clear();
16601656
// use debugLocation only for function expressions
16611657
if (currFunction) {

0 commit comments

Comments
 (0)