diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-10-19 22:59:16 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-10-19 22:59:16 +0000 |
commit | f23c0c405e9d27d01cc67e7967a42e62f135455d (patch) | |
tree | 0ab096bd946901b94b806f7f697c21cd90ef98d2 /lldb/lib/Makefile | |
parent | a512103bdf3d2ff20106e3ee2d80a21bece60795 (diff) | |
download | bcm5719-llvm-f23c0c405e9d27d01cc67e7967a42e62f135455d.tar.gz bcm5719-llvm-f23c0c405e9d27d01cc67e7967a42e62f135455d.zip |
Revert r248047 and fix the problem properly
In r248047, I attempted to fix a build breakage introduced by using
llvm's regex support from lldb-mi. However, my approach was flawed
when LLVM and lldb are dynamically linked, in which case two copies
of LLVMSupport would end up in memory, causing crashes on lldb start up.
Instead, use LINK_COMPONENTS to make sure lldb-mi has access to the
LLVMSupport symbols without causing duplication in the dynamic library
case.
llvm-svn: 250751
Diffstat (limited to 'lldb/lib/Makefile')
-rw-r--r-- | lldb/lib/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index 32bbc78d070..5ea96ef3c12 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -98,7 +98,6 @@ USEDLIBS = lldbAPI.a \ LLVMMCDisassembler.a \ LLVMProfileData.a \ LLVMObjCARCOpts.a \ - LLVMSupport.a \ lldbPluginPlatformMacOSX.a \ lldbPluginPlatformLinux.a \ lldbPluginPlatformWindows.a \ |