[llvm-dev] lld: add build-time control for including ELF / COFF / Mach-O linkers?
Ed Maste via llvm-dev
llvm-dev at lists.llvm.org
Mon Sep 12 13:19:36 PDT 2016
We're in the process of importing lld into FreeBSD (along with our
Clang 3.9 update project). For now I've removed all but the ELF
linker. We have no need for COFF and Mach-O, and we have a bespoke
build system for all of our contrib code. I didn't bother adding build
support for the source files for non-ELF linkers.
Is this something that'd be reasonable / desirable to have extended
and implemented upstream, in the CMake build and perhaps a bit of an
#ifdef mess in tools/lld/lld.cpp::main()?
More information about the llvm-dev