diff options
| author | Vedant Kumar <vsk@apple.com> | 2018-05-31 22:09:00 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2018-05-31 22:09:00 +0000 |
| commit | 7e4c84a78c5d3dc13f0fc9c20a63e2fcdcb84e55 (patch) | |
| tree | 5b0a92abcb1b266a493d275ec271ec34acaa1257 /lldb/tools | |
| parent | f616b9db7dc1627e3c892ed1c0a41ffe6213c840 (diff) | |
| download | bcm5719-llvm-7e4c84a78c5d3dc13f0fc9c20a63e2fcdcb84e55.tar.gz bcm5719-llvm-7e4c84a78c5d3dc13f0fc9c20a63e2fcdcb84e55.zip | |
[lldb-test] Make logging available to all subcommands
llvm-svn: 333699
Diffstat (limited to 'lldb/tools')
| -rw-r--r-- | lldb/tools/lldb-test/lldb-test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/tools/lldb-test/lldb-test.cpp b/lldb/tools/lldb-test/lldb-test.cpp index b06ed7cb49b..01ac977d9be 100644 --- a/lldb/tools/lldb-test/lldb-test.cpp +++ b/lldb/tools/lldb-test/lldb-test.cpp @@ -53,7 +53,10 @@ cl::SubCommand ModuleSubcommand("module-sections", "Display LLDB Module Information"); cl::SubCommand SymbolsSubcommand("symbols", "Dump symbols for an object file"); cl::SubCommand IRMemoryMapSubcommand("ir-memory-map", "Test IRMemoryMap"); + cl::opt<std::string> Log("log", cl::desc("Path to a log file"), cl::init(""), + cl::sub(BreakpointSubcommand), + cl::sub(ModuleSubcommand), cl::sub(SymbolsSubcommand), cl::sub(IRMemoryMapSubcommand)); /// Create a target using the file pointed to by \p Filename, or abort. |

