Skip to content

Commit 5cf1245

Browse files
committed
Fix build break in RISCV unit tests
/usr/bin/ld: unittests/Target/RISCV/CMakeFiles/RISCVTests.dir/RISCVSelectionDAGTest.cpp.o: undefined reference to symbol '_ZN4llvm19parseAssemblyStringENS_9Stri ngRefERNS_12SMDiagnosticERNS_11LLVMContextEPNS_11SlotMappingE' /usr/bin/ld: lib/libLLVMAsmParser.so.22.0git: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
1 parent a2693dc commit 5cf1245

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/Target/RISCV/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
88
RISCVDesc
99
RISCVInfo
1010
Analysis
11+
AsmParser
1112
CodeGen
1213
Core
1314
MC

0 commit comments

Comments
 (0)