[Lldb-commits] [lldb] r298776 - Expression: add missing linkage to RuntimeDyld component

Michal Gorny via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 25 11:51:30 PDT 2017


Author: mgorny
Date: Sat Mar 25 13:51:29 2017
New Revision: 298776

URL: http://llvm.org/viewvc/llvm-project?rev=298776&view=rev
Log:
Expression: add missing linkage to RuntimeDyld component

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

Modified:
    lldb/trunk/source/Expression/CMakeLists.txt

Modified: lldb/trunk/source/Expression/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/CMakeLists.txt?rev=298776&r1=298775&r2=298776&view=diff
==============================================================================
--- lldb/trunk/source/Expression/CMakeLists.txt (original)
+++ lldb/trunk/source/Expression/CMakeLists.txt Sat Mar 25 13:51:29 2017
@@ -34,5 +34,6 @@ add_lldb_library(lldbExpression
   LINK_COMPONENTS
     Core
     ExecutionEngine
+    RuntimeDyld
     Support
   )




More information about the lldb-commits mailing list