Instead of just searching for wasm-opt in PATH, use GetProgramPath, which checks the COMPILER_PATH environment variable, -B paths, and `PATH.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D70780
[WebAssembly] Find wasm-opt with GetProgramPath ClosedPublic Authored by sunfish on Nov 27 2019, 6:08 AM.
Details Summary Instead of just searching for wasm-opt in PATH, use GetProgramPath, which checks the COMPILER_PATH environment variable, -B paths, and `PATH.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 2 2019, 9:34 AM Closed by commit rG8f1e2151b8e9: [WebAssembly] Find wasm-opt with GetProgramPath (authored by • sunfishcode). · Explain WhyDec 2 2019, 11:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 231746 clang/lib/Driver/ToolChains/WebAssembly.cpp
|