Skip to content

Commit 255d28a

Browse files
authored
Fix metadce debug info after #2497 (#2501)
This like was mistakenly removed as part of the BYN_TRACE conversion.
1 parent 4056443 commit 255d28a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tools/wasm-metadce.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ int main(int argc, const char* argv[]) {
609609
if (options.extra.count("output") > 0) {
610610
ModuleWriter writer;
611611
writer.setBinary(emitBinary);
612+
writer.setDebugInfo(debugInfo);
612613
writer.write(wasm, options.extra["output"]);
613614
}
614615

0 commit comments

Comments
 (0)