llvm.org GIT mirror llvm / 215f133
Add missing library dependency to fix build break in llvm-lto2 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 Hiroshi Inoue 3 years ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 set(LLVM_LINK_COMPONENTS
11 ${LLVM_TARGETS_TO_BUILD}
2 BitReader
23 Core
34 Linker
45 LTO
1818 type = Tool
1919 name = llvm-lto2
2020 parent = Tools
21 required_libraries = Core Linker LTO MC Object Support all-targets
21 required_libraries = BitReader Core Linker LTO MC Object Support all-targets