173
|
1 set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
|
|
3 add_public_tablegen_target(MachOOptionsTableGen)
|
|
4
|
207
|
5 include_directories(${LLVM_MAIN_SRC_DIR}/../libunwind/include)
|
|
6
|
173
|
7 add_lld_library(lldMachO2
|
207
|
8 Arch/ARM.cpp
|
|
9 Arch/ARM64.cpp
|
|
10 Arch/ARM64Common.cpp
|
|
11 Arch/ARM64_32.cpp
|
173
|
12 Arch/X86_64.cpp
|
207
|
13 ConcatOutputSection.cpp
|
173
|
14 Driver.cpp
|
207
|
15 DriverUtils.cpp
|
|
16 Dwarf.cpp
|
173
|
17 ExportTrie.cpp
|
|
18 InputFiles.cpp
|
|
19 InputSection.cpp
|
207
|
20 LTO.cpp
|
|
21 MapFile.cpp
|
|
22 MarkLive.cpp
|
|
23 ObjC.cpp
|
173
|
24 OutputSection.cpp
|
|
25 OutputSegment.cpp
|
207
|
26 Relocations.cpp
|
173
|
27 SymbolTable.cpp
|
|
28 Symbols.cpp
|
|
29 SyntheticSections.cpp
|
|
30 Target.cpp
|
207
|
31 UnwindInfoSection.cpp
|
173
|
32 Writer.cpp
|
|
33
|
|
34 LINK_COMPONENTS
|
|
35 ${LLVM_TARGETS_TO_BUILD}
|
|
36 BinaryFormat
|
207
|
37 BitReader
|
173
|
38 Core
|
207
|
39 DebugInfoDWARF
|
|
40 LTO
|
|
41 MC
|
|
42 ObjCARCOpts
|
173
|
43 Object
|
|
44 Option
|
207
|
45 Passes
|
173
|
46 Support
|
207
|
47 TextAPI
|
173
|
48
|
|
49 LINK_LIBS
|
|
50 lldCommon
|
|
51 ${LLVM_PTHREAD_LIB}
|
207
|
52 ${XAR_LIB}
|
173
|
53
|
|
54 DEPENDS
|
|
55 MachOOptionsTableGen
|
|
56 ${tablegen_deps}
|
|
57 )
|
207
|
58
|
|
59 if(LLVM_HAVE_LIBXAR)
|
|
60 target_link_libraries(lldMachO2 PRIVATE ${XAR_LIB})
|
|
61 endif()
|