[PATCH] D70500: [WebAssembly] Enable use of wasm-opt and LTO-enabled system libraries

bernhard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 2 06:19:59 PDT 2020


bernhard added a comment.

I had an application crash with optimizations enabled, so I wanted to keep the debug info but the automatic wasm-opt kept removing it and I lost another 30 minutes to this, so I'm back :-)

Can we get clang not to automatically call wasm-opt if it is called without `-Xlinker -strip-all`, or when called with `-g` ?
Or at the very least, could it forward the `-g` along the `-O*` to wasm-opt?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70500/new/

https://reviews.llvm.org/D70500





More information about the cfe-commits mailing list