annotate lld/MachO/CMakeLists.txt @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 0572611fdcc8
children 5f17cb93ff66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 set(LLVM_TARGET_DEFINITIONS Options.td)
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 add_public_tablegen_target(MachOOptionsTableGen)
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
5 include_directories(${LLVM_MAIN_SRC_DIR}/../libunwind/include)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
6
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 add_lld_library(lldMachO2
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
8 Arch/ARM.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
9 Arch/ARM64.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
10 Arch/ARM64Common.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
11 Arch/ARM64_32.cpp
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 Arch/X86_64.cpp
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
13 ConcatOutputSection.cpp
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 Driver.cpp
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
15 DriverUtils.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
16 Dwarf.cpp
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 ExportTrie.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 InputFiles.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 InputSection.cpp
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
20 LTO.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
21 MapFile.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
22 MarkLive.cpp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
23 ObjC.cpp
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 OutputSection.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 OutputSegment.cpp
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
26 Relocations.cpp
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 SymbolTable.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 Symbols.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 SyntheticSections.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 Target.cpp
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
31 UnwindInfoSection.cpp
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 Writer.cpp
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 LINK_COMPONENTS
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 ${LLVM_TARGETS_TO_BUILD}
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 BinaryFormat
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
37 BitReader
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 Core
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
39 DebugInfoDWARF
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
40 LTO
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
41 MC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
42 ObjCARCOpts
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 Object
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 Option
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
45 Passes
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 Support
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
47 TextAPI
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 LINK_LIBS
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 lldCommon
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 ${LLVM_PTHREAD_LIB}
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
52 ${XAR_LIB}
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
53
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 DEPENDS
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 MachOOptionsTableGen
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 ${tablegen_deps}
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 )
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
58
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
59 if(LLVM_HAVE_LIBXAR)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
60 target_link_libraries(lldMachO2 PRIVATE ${XAR_LIB})
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
61 endif()