[PATCH] D59743: [WebAssembly] Don't use default GetLinkerPath
Sam Clegg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 23 18:29:04 PDT 2019
sbc100 created this revision.
Herald added subscribers: cfe-commits, atanasyan, jrtc27, sunfish, aheejin, jgravelle-google, sdardis, dschuff.
Herald added a project: clang.
We can't (don't want to) honor the same set of "-fuse-ld" flags
with WebAssembly since the ELF linkers (ld.lld, ld.gnu, etc) don't
work with wasm object files.
Instead we implement our linker finding logic, similar or other
non-ELF platforms like MSVC.
We've had a few issues with CLANG_DEFAULT_LINKER overriding the
WebAssembly linker which doesn't make sense since there is no generic
linker that can handle WebAssembly today.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59743
Files:
clang/lib/Driver/ToolChains/Fuchsia.h
clang/lib/Driver/ToolChains/MipsLinux.h
clang/lib/Driver/ToolChains/WebAssembly.cpp
clang/lib/Driver/ToolChains/WebAssembly.h
clang/test/Driver/wasm-toolchain.c
clang/test/Driver/wasm-toolchain.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59743.192018.patch
Type: text/x-patch
Size: 9041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190324/f0dc64ef/attachment-0001.bin>
More information about the cfe-commits
mailing list