llvm-project/lldb/source/Plugins/UnwindAssembly/x86
Michal Gorny c4e42d2c66 PluginUnwindAssemblyX86: add missing linkage to MCDisasm
Add missing linkage of the lldbPluginUnwindAssemblyX86 to LLVMMCDisasm
library. This fixes the following build failure when linking against
shared libraries:

    lib64/liblldbPluginUnwindAssemblyX86.a(x86AssemblyInspectionEngine.cpp.o):x86AssemblyInspectionEngine.cpp:function lldb_private::x86AssemblyInspectionEngine::instruction_length(unsigned char*, int&): error: undefined reference to 'LLVMDisasmInstruction'
    lib64/liblldbPluginUnwindAssemblyX86.a(x86AssemblyInspectionEngine.cpp.o):x86AssemblyInspectionEngine.cpp:function lldb_private::x86AssemblyInspectionEngine::~x86AssemblyInspectionEngine(): error: undefined reference to 'LLVMDisasmDispose'
    lib64/liblldbPluginUnwindAssemblyX86.a(x86AssemblyInspectionEngine.cpp.o):x86AssemblyInspectionEngine.cpp:function lldb_private::x86AssemblyInspectionEngine::x86AssemblyInspectionEngine(lldb_private::ArchSpec const&): error: undefined reference to 'LLVMCreateDisasm'

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

llvm-svn: 298777
2017-03-25 18:51:37 +00:00
..
CMakeLists.txt PluginUnwindAssemblyX86: add missing linkage to MCDisasm 2017-03-25 18:51:37 +00:00
UnwindAssembly-x86.cpp Remove dependencies from Utility to Core and Target. 2017-02-14 19:06:07 +00:00
UnwindAssembly-x86.h Re-commit the changes from r282565 that I had to back out because of 2016-09-29 01:00:16 +00:00
x86AssemblyInspectionEngine.cpp x86AssemblyInspectionEngine::AugmentUnwindPlanFromCallSite could access 2017-03-02 05:08:10 +00:00
x86AssemblyInspectionEngine.h Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00