mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-19 11:41:53 +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 llvm-svn: 306507
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
|
|
)
|