From a32fc333d2bddea07776013ee77baba2ebfef1ee Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Sat, 25 Mar 2017 18:51:29 +0000 Subject: [PATCH] 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 llvm-svn: 298776 --- lldb/source/Expression/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Expression/CMakeLists.txt b/lldb/source/Expression/CMakeLists.txt index 7d9643a..04754eb 100644 --- a/lldb/source/Expression/CMakeLists.txt +++ b/lldb/source/Expression/CMakeLists.txt @@ -34,5 +34,6 @@ add_lldb_library(lldbExpression LINK_COMPONENTS Core ExecutionEngine + RuntimeDyld Support ) -- 2.7.4