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

Derek Schuff via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 09:25:03 PST 2019


dschuff added a comment.

I do find it odd that there is a PATH fallback in the existing code in the first place. I agree that basically no compiler other than the "system" compiler should ever use it (and also even the concept of the "system" compiler really only makes much sense on systems like Linux and BSDs where compiling things for the local system is common). I guess the other option here would be to just require that wasm-opt be in the same directory as clang, which we can arrange in wasi-sdk or wherever.


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