Skip to content

Commit 0040084

Browse files
kparzyszyuxuanchen1997
authored andcommitted
Fix link error after cc7308a with shared libraries
/usr/bin/ld: CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o: undefined reference to symbol '_ZN4llvm15BitcodeAnalyzer7analyzeESt8optionalINS_13BCDumpOptionsEES1_INS_9StringRefEE' /usr/bin/ld: /work/kparzysz/git/llvm.org/b/x86/lib/libLLVMBitReader.so.20.0git: error adding symbols: DSO missing from command line
1 parent 1ee1502 commit 0040084

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/ProfileData/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
set(LLVM_LINK_COMPONENTS
2+
BitReader
23
Core
34
Coverage
45
ProfileData

0 commit comments

Comments
 (0)