[Lldb-commits] [PATCH] Reduce the number of components initialized by lldb-server to reduce static binary size.

Robert Flack flackr at gmail.com
Wed Feb 25 06:53:41 PST 2015


Hi tberghammer,

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. I've run tests and manually tested remote debugging but let me know if there's anything else I can do to verify I haven't left anything uninitialized which is used by lldb-server.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7880

Files:
  include/lldb/lldb-private.h
  source/lldb.cpp
  tools/lldb-server/lldb-gdbserver.cpp
  tools/lldb-server/lldb-platform.cpp
  tools/lldb-server/lldb-server.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7880.20672.patch
Type: text/x-patch
Size: 8486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150225/1f383066/attachment.bin>


More information about the lldb-commits mailing list