diff options
author | Sam Clegg <sbc@chromium.org> | 2019-12-04 15:47:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 15:47:39 -0600 |
commit | 255d28a7bd903cedacc9ca0a00b7379188bf17bc (patch) | |
tree | 601424707e92ca075e8a8a8ddb117da5d9dc6c6f /src/tools/wasm-metadce.cpp | |
parent | 4056443a5c926ac009b455bf6774445edb6050ba (diff) | |
download | binaryen-255d28a7bd903cedacc9ca0a00b7379188bf17bc.tar.gz binaryen-255d28a7bd903cedacc9ca0a00b7379188bf17bc.tar.bz2 binaryen-255d28a7bd903cedacc9ca0a00b7379188bf17bc.zip |
Fix metadce debug info after #2497 (#2501)
This like was mistakenly removed as part of the BYN_TRACE conversion.
Diffstat (limited to 'src/tools/wasm-metadce.cpp')
-rw-r--r-- | src/tools/wasm-metadce.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/wasm-metadce.cpp b/src/tools/wasm-metadce.cpp index 6fa0477b3..7d91b3e6f 100644 --- a/src/tools/wasm-metadce.cpp +++ b/src/tools/wasm-metadce.cpp @@ -609,6 +609,7 @@ int main(int argc, const char* argv[]) { if (options.extra.count("output") > 0) { ModuleWriter writer; writer.setBinary(emitBinary); + writer.setDebugInfo(debugInfo); writer.write(wasm, options.extra["output"]); } |