Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang][WebAssembly] Link with profile runtime libraries if requested
This patch teaches the WebAssembly toolchain to link with the profile runtime libraries if profile instrumentation is requested. With this change, the following command will work with profile rt installed: ``` $ clang -target wasm32-unknown-wasi -fprofile-instr-generate \ -lwasi-emulated-getpid -lwasi-emulated-mman -o foo.wasm foo.c ```
- Loading branch information