Added a new "module" log channel which covers module creation, deletion, and common...
authorGreg Clayton <gclayton@apple.com>
Mon, 8 Oct 2012 22:41:53 +0000 (22:41 +0000)
committerGreg Clayton <gclayton@apple.com>
Mon, 8 Oct 2012 22:41:53 +0000 (22:41 +0000)
commit3a18e319450a1fd9031f9879a2c3894d17338b95
tree7ff118da3d533e819cefa0f115200dfca9a8f600
parentae23ed336b1ffc496b2fdd537e05bc91273dca4d
Added a new "module" log channel which covers module creation, deletion, and common module list actions.

Also added a new option for "log enable" which is "--stack" which will print out a stack backtrace for each log line.

This was used to track down the leaking module issue I fixed last week.

llvm-svn: 165438
lldb/include/lldb/Core/Log.h
lldb/include/lldb/Interpreter/CommandObject.h
lldb/include/lldb/Interpreter/CommandObjectMultiword.h
lldb/include/lldb/lldb-private-log.h
lldb/source/API/SBCommandInterpreter.cpp
lldb/source/Commands/CommandObjectCommands.cpp
lldb/source/Commands/CommandObjectLog.cpp
lldb/source/Core/Log.cpp
lldb/source/Core/Module.cpp
lldb/source/Core/ModuleList.cpp
lldb/source/lldb-log.cpp