Expression: add missing linkage to RuntimeDyld component
authorMichal Gorny <mgorny@gentoo.org>
Sat, 25 Mar 2017 18:51:29 +0000 (18:51 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Sat, 25 Mar 2017 18:51:29 +0000 (18:51 +0000)
Add missing linkage from lldbExpression library to LLVMRuntimeDyld.
Otherwise the build against shared LLVM libraries fails with:

    lib64/liblldbExpression.a(IRExecutionUnit.cpp.o):IRExecutionUnit.cpp:function llvm::RTDyldMemoryManager::deregisterEHFrames(unsigned char*, unsigned long, unsigned long): error: undefined reference to 'llvm::RTDyldMemoryManager::deregisterEHFramesInProcess(unsigned char*, unsigned long)'

Differential Revision: https://reviews.llvm.org/D31367

llvm-svn: 298776

lldb/source/Expression/CMakeLists.txt

index 7d9643a..04754eb 100644 (file)
@@ -34,5 +34,6 @@ add_lldb_library(lldbExpression
   LINK_COMPONENTS
     Core
     ExecutionEngine
+    RuntimeDyld
     Support
   )