mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 14:45:24 +00:00
621de7b4c7
Summary: Change llvm-link to use the FunctionImporter handling, instead of manually invoking the Linker. We still need to load the module in llvm-link to do the desired testing for invalid import requests (weak functions), and to get the GUID (in case the function is local). Also change the drop-debug-info test to use llvm-link so that importing is forced (in order to test debug info handling) and independent of import logic changes. Reviewers: mehdi_amini Subscribers: mgorny, llvm-commits, aprantl Differential Revision: https://reviews.llvm.org/D28277 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290964 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
183 B
CMake
18 lines
183 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BitWriter
|
|
Core
|
|
IRReader
|
|
Linker
|
|
Object
|
|
Support
|
|
TransformUtils
|
|
IPO
|
|
)
|
|
|
|
add_llvm_tool(llvm-link
|
|
llvm-link.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|