Added new options to "target create" and "target modules add".
authorGreg Clayton <gclayton@apple.com>
Fri, 30 Nov 2012 19:05:35 +0000 (19:05 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 30 Nov 2012 19:05:35 +0000 (19:05 +0000)
commit1c5f186f3047aeecc28e1a18ade6d1375708340a
treed716231a0f16c90a98216ba56a99ba91af5bf7fd
parentc1c87c15f21384f50a1fcb61e513467a8694c269
Added new options to "target create" and "target modules add".

For "target create" you can now specify "--no-dependents" to not track down and add all dependent shared libraries. This can be handy when doing manual symbolication. Also added the "--symfile" or "-s" for short so you can specify a module and a stand alone debug info file:

(lldb) target create --symfile /tmp/a.dSYM /usr/bin/a

Added the "--symfile" option to the "target modules add" for the same reason. These all help with manualy symbolication and expose functionality that was previously only available through the public API layer.

llvm-svn: 169023
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Interpreter/OptionGroupFile.cpp
lldb/source/Interpreter/OptionGroupPlatform.cpp
lldb/source/Interpreter/Options.cpp