diff options
Diffstat (limited to 'src/tools/wasm-opt.cpp')
-rw-r--r-- | src/tools/wasm-opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-opt.cpp b/src/tools/wasm-opt.cpp index 8884619fe..45d394162 100644 --- a/src/tools/wasm-opt.cpp +++ b/src/tools/wasm-opt.cpp @@ -61,7 +61,7 @@ static std::string runCommand(std::string command) { static bool willRemoveDebugInfo(const std::vector<std::string>& passes) { for (auto& pass : passes) { - if (pass == "strip" || pass == "strip-debug" || pass == "strip-dwarf") { + if (PassRunner::passRemovesDebugInfo(pass)) { return true; } } |