bernhard added a comment.

Are there plans to offer a way to disable this behavior (or have it optional in 
the first place)?
We'd like to run some custom processing between wasm-ld and wasm-opt which 
can't happen after the latter due to some of its one-way destructive 
optimizations (i.e. memory-packing or simplify-globals passes).
The only way now is to tell our users to place wasm-opt somewhere where clang 
can't find it. Or instead of using one clang super-command to manually call 
-cc1 and wasm-ld separately which is disappointing.

Also, is it even common to place wasm-opt next to the clang executable? Who is 
this for? Is this documented?
I only stumbled into this by pure luck and was very confused for a while until 
I ran with -v.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70500



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to