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 | 5190bbea01436b38e2cc529a93c77752fddd914e (patch) | |
tree | 5ce5628a0ba1eb465566c905b4d429c3ad480aee /lldb/source/Plugins/SymbolVendor | |
parent | cba7a38e2f09d4ac209e5f5c171a9ef981793f24 (diff) |
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
Diffstat (limited to 'lldb/source/Plugins/SymbolVendor')
-rw-r--r-- | lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp b/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp index f647ac43465..2fead728b68 100644 --- a/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp +++ b/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp @@ -13,8 +13,6 @@ #include <libxml/tree.h> #include <string.h> -#include <AvailabilityMacros.h> - #include "lldb/Core/Module.h" #include "lldb/Core/ModuleSpec.h" #include "lldb/Core/PluginManager.h" |