[Lldb-commits] [PATCH] Add a --all command option to "target delete"

Zachary Turner zturner at google.com
Wed Mar 25 13:22:00 PDT 2015


Hi jingham,

Fairly self explanatory.  The immediate use case for this is to add code to lldbtest teardown that deletes all targets before running make clean, to deal with file locking issues on Windows.  But the option is generally useful independently of the test suite anyway.

I made the --all option not require an argument (so you just use --all instead of --all true).  For consistency, I changed the --clean flag to work the same way by changing the last argument being passed to the constructor of m_clean_option from false to true.  I don't think this is a big issue since we don't guarantee stability of the CLI and this is not a heavily used option, but worth calling out anyway.

http://reviews.llvm.org/D8615

Files:
  source/Commands/CommandObjectTarget.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8615.22670.patch
Type: text/x-patch
Size: 7203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150325/13e4211e/attachment.bin>


More information about the lldb-commits mailing list