[PATCH] D108120: [lld] Add CMake options to disable individual linkers
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 16 04:34:25 PDT 2021
arichardson created this revision.
arichardson added reviewers: lld-macho, MaskRay, peter.smith, sbc100, mstorsjo, rnk.
Herald added subscribers: krytarowski, mgorny, emaste.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
arichardson requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
This is useful in downstream toolchain builds that only support a single
output format. For example, the FreeBSD lld build has a local patch to
only include ELF support in lld.cpp. This change will allow removing
the downstream patch and instead use the relevant LLD_ENABLE_*_LINKER
defines.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108120
Files:
lld/CMakeLists.txt
lld/include/lld/Common/config.h.cmake
lld/test/COFF/lit.local.cfg
lld/test/ELF/lit.local.cfg
lld/test/MachO/lit.local.cfg
lld/test/MinGW/lit.local.cfg
lld/test/darwin/lit.local.cfg
lld/test/lit.cfg.py
lld/test/lit.site.cfg.py.in
lld/test/mach-o/lit.local.cfg
lld/test/wasm/lit.local.cfg
lld/tools/lld/CMakeLists.txt
lld/tools/lld/lld.cpp
lld/unittests/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108120.366590.patch
Type: text/x-patch
Size: 10044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210816/6fa72fa8/attachment.bin>
More information about the llvm-commits
mailing list