2015-05-29 03:09:30 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
|
|
tablegen(LLVM Options.inc -gen-opt-parser-defs)
|
|
|
|
add_public_tablegen_target(COFFOptionsTableGen)
|
|
|
|
|
2016-12-12 13:47:40 +08:00
|
|
|
if(NOT LLD_BUILT_STANDALONE)
|
|
|
|
set(tablegen_deps intrinsics_gen)
|
|
|
|
endif()
|
|
|
|
|
2016-01-07 08:14:04 +08:00
|
|
|
add_lld_library(lldCOFF
|
2015-05-29 03:09:30 +08:00
|
|
|
Chunks.cpp
|
[LLD][COFF] Early dependency detection
We introduce a new class hierarchy for debug types merging (in DebugTypes.h). The end-goal is to parallelize the type merging - please see the plan in D59226.
Previously, dependency discovery was done on the fly, much later, during the type merging loop. Unfortunately, parallelizing the type merging requires the dependencies to be merged in first, before any dependent ObjFile, thus this early discovery.
The overall intention for this path is to discover debug information dependencies at a much earlier stage, when processing input files. Currently, two types of dependency are supported: PDB type servers (when compiling with MSVC /Zi) and precompiled headers OBJs (when compiling with MSVC /Yc and /Yu). Once discovered, an explicit link is added into the dependent ObjFile, through the new debug types class hierarchy introduced in DebugTypes.h.
Differential Revision: https://reviews.llvm.org/D59053
llvm-svn: 357383
2019-04-01 21:36:59 +08:00
|
|
|
DebugTypes.cpp
|
2015-06-07 09:15:04 +08:00
|
|
|
DLL.cpp
|
2015-05-29 03:09:30 +08:00
|
|
|
Driver.cpp
|
2015-05-29 04:30:06 +08:00
|
|
|
DriverUtils.cpp
|
2015-06-25 04:40:03 +08:00
|
|
|
ICF.cpp
|
2015-05-29 03:09:30 +08:00
|
|
|
InputFiles.cpp
|
2017-02-03 07:58:14 +08:00
|
|
|
LTO.cpp
|
2017-01-14 11:14:46 +08:00
|
|
|
MapFile.cpp
|
2015-09-20 05:36:28 +08:00
|
|
|
MarkLive.cpp
|
2017-10-20 03:49:38 +08:00
|
|
|
MinGW.cpp
|
2015-12-05 07:11:05 +08:00
|
|
|
PDB.cpp
|
2015-05-29 03:09:30 +08:00
|
|
|
SymbolTable.cpp
|
|
|
|
Symbols.cpp
|
|
|
|
Writer.cpp
|
2015-06-02 04:10:10 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
2017-06-08 02:06:11 +08:00
|
|
|
BinaryFormat
|
2015-06-02 04:10:10 +08:00
|
|
|
Core
|
2016-11-24 06:58:25 +08:00
|
|
|
DebugInfoCodeView
|
2019-10-18 22:31:58 +08:00
|
|
|
DebugInfoDWARF
|
2016-09-16 22:10:23 +08:00
|
|
|
DebugInfoMSF
|
2016-09-16 12:32:33 +08:00
|
|
|
DebugInfoPDB
|
2019-09-27 20:23:45 +08:00
|
|
|
Demangle
|
2015-06-10 05:52:48 +08:00
|
|
|
LibDriver
|
2017-10-12 07:18:43 +08:00
|
|
|
LTO
|
2015-06-02 04:10:10 +08:00
|
|
|
MC
|
2017-10-12 07:18:43 +08:00
|
|
|
Object
|
2015-06-24 03:54:57 +08:00
|
|
|
Option
|
2020-01-10 12:58:31 +08:00
|
|
|
Passes
|
2015-06-02 04:10:10 +08:00
|
|
|
Support
|
2017-08-22 11:15:28 +08:00
|
|
|
WindowsManifest
|
2016-03-01 23:56:53 +08:00
|
|
|
|
2016-07-26 10:00:42 +08:00
|
|
|
LINK_LIBS
|
2017-10-03 05:00:41 +08:00
|
|
|
lldCommon
|
2017-02-10 09:59:20 +08:00
|
|
|
${LLVM_PTHREAD_LIB}
|
2015-05-29 03:09:30 +08:00
|
|
|
|
2016-11-17 12:36:35 +08:00
|
|
|
DEPENDS
|
|
|
|
COFFOptionsTableGen
|
2016-12-12 13:47:40 +08:00
|
|
|
${tablegen_deps}
|
2016-11-17 12:36:35 +08:00
|
|
|
)
|