[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 12:07:39 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: tools/lldb-server/lldb-gdbserver.cpp:510-511
@@ -509,4 +509,2 @@
 
-    Debugger::Initialize (NULL);
-
     lldb::DebuggerSP debugger_sp = Debugger::CreateInstance ();
----------------
tberghammer wrote:
> Are you sure you don't have to initialize the debugger?
It does not seem to be necessary, but I could update Debugger::initialize to take which lldb initialization we require if we want to initialize in case it's relied on to coordinate when to call lldb_private::Terminate if you think we should coordinate this through Debugger.

http://reviews.llvm.org/D7880

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list