HomePhabricator

[WebAssembly] Find wasm-opt with GetProgramPath

Authored by sunfishcode on Dec 2 2019, 11:47 AM.

Description

[WebAssembly] Find wasm-opt with GetProgramPath

Instead of just searching for wasm-opt in PATH, use GetProgramPath, which
checks the COMPILER_PATH environment variable, -B paths, and PATH.

Differential Revision: https://reviews.llvm.org/D70780

Details

Committed
sunfishcodeDec 2 2019, 11:48 AM
Differential Revision
D70780: [WebAssembly] Find wasm-opt with GetProgramPath
Parents
rG1d4587346f51: [AArch64] Attempt to fixup test line. NFC
Branches
Unknown
Tags
Unknown