]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lld/ELF/CMakeLists.txt
Fix a memory leak in if_delgroups() introduced in r334118.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lld / ELF / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(ELFOptionsTableGen)
4
5 if(NOT LLD_BUILT_STANDALONE)
6   set(tablegen_deps intrinsics_gen)
7 endif()
8
9 add_lld_library(lldELF
10   AArch64ErrataFix.cpp
11   Arch/AArch64.cpp
12   Arch/AMDGPU.cpp
13   Arch/ARM.cpp
14   Arch/AVR.cpp
15   Arch/Hexagon.cpp
16   Arch/Mips.cpp
17   Arch/MipsArchTree.cpp
18   Arch/MSP430.cpp
19   Arch/PPC.cpp
20   Arch/PPC64.cpp
21   Arch/RISCV.cpp
22   Arch/SPARCV9.cpp
23   Arch/X86.cpp
24   Arch/X86_64.cpp
25   CallGraphSort.cpp
26   DWARF.cpp
27   Driver.cpp
28   DriverUtils.cpp
29   EhFrame.cpp
30   ICF.cpp
31   InputFiles.cpp
32   InputSection.cpp
33   LTO.cpp
34   LinkerScript.cpp
35   MapFile.cpp
36   MarkLive.cpp
37   OutputSections.cpp
38   Relocations.cpp
39   ScriptLexer.cpp
40   ScriptParser.cpp
41   SymbolTable.cpp
42   Symbols.cpp
43   SyntheticSections.cpp
44   Target.cpp
45   Thunks.cpp
46   Writer.cpp
47
48   LINK_COMPONENTS
49   ${LLVM_TARGETS_TO_BUILD}
50   BinaryFormat
51   BitWriter
52   Core
53   DebugInfoDWARF
54   LTO
55   MC
56   Object
57   Option
58   Support
59
60   LINK_LIBS
61   lldCommon
62   ${LLVM_PTHREAD_LIB}
63
64   DEPENDS
65   ELFOptionsTableGen
66   ${tablegen_deps}
67   )