[Lldb-commits] [PATCH] D31367: Expression: add missing linkage to RuntimeDyld component

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 25 06:53:31 PDT 2017


mgorny created this revision.
mgorny added a project: LLDB.

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)'


Repository:
  rL LLVM

https://reviews.llvm.org/D31367

Files:
  source/Expression/CMakeLists.txt


Index: source/Expression/CMakeLists.txt
===================================================================
--- source/Expression/CMakeLists.txt
+++ source/Expression/CMakeLists.txt
@@ -34,5 +34,6 @@
   LINK_COMPONENTS
     Core
     ExecutionEngine
+    RuntimeDyld
     Support
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31367.93041.patch
Type: text/x-patch
Size: 285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170325/ac1321a2/attachment.bin>


More information about the lldb-commits mailing list