mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 08:07:51 +00:00

error message CMakeFiles/llvm-lto2.dir/llvm-lto2.cpp.o: In function `dumpSymtab(int, char**)': llvm-lto2.cpp:(.text._ZL10dumpSymtabiPPc+0x238): undefined reference to `llvm::getBitcodeFileContents(llvm::MemoryBufferRef)' collect2: error: ld returned 1 exit status git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306507 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
196 B
CMake
19 lines
196 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
BitReader
|
|
Core
|
|
Linker
|
|
LTO
|
|
MC
|
|
Object
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_tool(llvm-lto2
|
|
llvm-lto2.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|