diff options
author | Robert Flack <flackr@gmail.com> | 2015-03-02 15:14:50 +0000 |
---|---|---|
committer | Robert Flack <flackr@gmail.com> | 2015-03-02 15:14:50 +0000 |
commit | ab3269d275e7214ae0d48ba013e3f5376606b0d3 (patch) | |
tree | 2ebef7bc0886a99e4563ec26d678344ec663953b /lldb/lib/Makefile | |
parent | 18fd49602b4e5c1c141a19f031b9f6d5caa7a423 (diff) | |
download | bcm5719-llvm-ab3269d275e7214ae0d48ba013e3f5376606b0d3.tar.gz bcm5719-llvm-ab3269d275e7214ae0d48ba013e3f5376606b0d3.zip |
Reduce the number of components initialized by lldb-server to reduce static binary size.
Separate out the necessary component initialization for lldb-server such that the linker can greatly reduce the binary size. With this patch the size of lldb-server on my 64 bit linux release build drops from 46MB to 26MB.
Differential Revision: http://reviews.llvm.org/D7880
llvm-svn: 230963
Diffstat (limited to 'lldb/lib/Makefile')
-rw-r--r-- | lldb/lib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index 7c566915cfa..b63be9a00a8 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -49,6 +49,7 @@ USEDLIBS = lldbAPI.a \ lldbPluginLanguageRuntimeObjCAppleObjCRuntime.a \ lldbPluginMemoryHistoryASan.a \ lldbPluginObjectContainerBSDArchive.a \ + lldbPluginObjectContainerUniversalMachO.a \ lldbPluginObjectFileELF.a \ lldbPluginObjectFileJIT.a \ lldbPluginSymbolVendorELF.a \ @@ -58,6 +59,7 @@ USEDLIBS = lldbAPI.a \ lldbPluginProcessGDBRemote.a \ lldbPluginSymbolFileDWARF.a \ lldbPluginSymbolFileSymtab.a \ + lldbPluginSystemRuntimeMacOSX.a \ lldbPluginUnwindAssemblyInstEmulation.a \ lldbPluginUnwindAssemblyx86.a \ lldbPluginUtility.a \ @@ -105,12 +107,10 @@ ifeq ($(HOST_OS),Darwin) lldbHostPosix.a \ lldbPluginDynamicLoaderMacOSX.a \ lldbPluginDynamicLoaderDarwinKernel.a \ - lldbPluginObjectContainerUniversalMachO.a \ lldbPluginObjectFileMachO.a \ lldbPluginSymbolVendorMacOSX.a \ lldbPluginProcessDarwin.a \ lldbPluginProcessMachCore.a \ - lldbPluginSystemRuntimeMacOSX.a \ lldbPluginProcessElfCore.a \ lldbPluginJITLoaderGDB.a endif |