forked from OSchip/llvm-project
[llvm-exegesis/lib] Fix missing linkage to MCParser
Otherwise, shared-lib build fails with: lib64/libLLVMExegesis.a(SnippetFile.cpp.o): In function `llvm::exegesis::readSnippets(llvm::exegesis::LLVMState const&, llvm::StringRef)': SnippetFile.cpp:(.text._ZN4llvm8exegesis12readSnippetsERKNS0_9LLVMStateENS_9StringRefE+0x31f): undefined reference to `llvm::createMCAsmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, llvm::MCAsmInfo const&, unsigned int)' SnippetFile.cpp:(.text._ZN4llvm8exegesis12readSnippetsERKNS0_9LLVMStateENS_9StringRefE+0x41c): undefined reference to `llvm::MCAsmParser::setTargetParser(llvm::MCTargetAsmParser&)' collect2: error: ld returned 1 exit status llvm-svn: 373332
This commit is contained in:
parent
ef7990a88a
commit
f488cbdcd8
|
@ -47,6 +47,7 @@ llvm_map_components_to_libnames(libs
|
|||
MC
|
||||
MCDisassembler
|
||||
MCJIT
|
||||
MCParser
|
||||
Object
|
||||
ObjectYAML
|
||||
Support
|
||||
|
|
Loading…
Reference in New Issue