mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
4f5e68aaf3
This patch adds a jitlink pass, 'registerELFGraphInfo', that records section and symbol information about each LinkGraph in the llvm-jitlink session object. This allows symbols and sections to be referred to by name in llvm-jitlink regression tests. This will enable a testcase to be written for https://reviews.llvm.org/D80613.
22 lines
321 B
CMake
22 lines
321 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
BinaryFormat
|
|
ExecutionEngine
|
|
JITLink
|
|
MC
|
|
Object
|
|
OrcJIT
|
|
RuntimeDyld
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-jitlink
|
|
llvm-jitlink.cpp
|
|
llvm-jitlink-elf.cpp
|
|
llvm-jitlink-macho.cpp
|
|
)
|
|
|
|
export_executable_symbols(llvm-jitlink)
|