Skip to content

Commit

Permalink
Fix link error after cc7308a with shared libraries
Browse files Browse the repository at this point in the history
/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
  • Loading branch information
kparzysz committed Jul 23, 2024
1 parent 63b382b commit 37123e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/unittests/ProfileData/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
BitReader
Core
Coverage
ProfileData
Expand Down

0 comments on commit 37123e9

Please sign in to comment.