lld is the only supported linker that works for WebAssembly, so ensure clang is using it for this test. This gets the tests passing when configuring clang to use a different linker by default.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
How do you configure clang to use a different linker? It looks like getDefaultLinker() is hardcoded, but maybe I'm missing something.
Comment Actions
But in the CL description you say "..when configuring clang to use a different linker by default". How is this possible? i.e. do you have a config where these tests are currently failing?
Comment Actions
I see. This seems a little strange to me. I'm not sure it makes sense for CLANG_DEFAULT_LINKER to effect targets like WebAssembly that only have single supported linker. I'm OK with landing this now but I think we might need to look into a better solution.