[PATCH] D115045: [Clang] Ignore CLANG_DEFAULT_LINKER for custom-linker toolchains
Simon Moll via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 6 08:00:39 PST 2021
simoll updated this revision to Diff 392067.
simoll added a comment.
Herald added subscribers: abrachet, kerbowa, ormris, atanasyan, jrtc27, aheejin, jgravelle-google, sbc100, nhaehnle, jvesely, sdardis, dschuff.
Use the `-DCLANG_DEFAULT_LINKER` linker in all toolchains but VE. Since toolchains are now responsible for this flag, there is a new helper function that emulates the old linker selection behavior.
This should unbreak the AMDGPU staging bot.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115045/new/
https://reviews.llvm.org/D115045
Files:
clang/include/clang/Driver/ToolChain.h
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/ToolChains/AMDGPU.h
clang/lib/Driver/ToolChains/BareMetal.h
clang/lib/Driver/ToolChains/Fuchsia.h
clang/lib/Driver/ToolChains/Hexagon.h
clang/lib/Driver/ToolChains/MipsLinux.h
clang/lib/Driver/ToolChains/Solaris.h
clang/lib/Driver/ToolChains/WebAssembly.h
clang/test/Driver/ve-toolchain.c
clang/test/Driver/ve-toolchain.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115045.392067.patch
Type: text/x-patch
Size: 7480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211206/807d4c07/attachment.bin>
More information about the cfe-commits
mailing list