[Lldb-commits] [lldb] r333699 - [lldb-test] Make logging available to all subcommands

Vedant Kumar via lldb-commits lldb-commits at lists.llvm.org
Thu May 31 15:09:00 PDT 2018


Author: vedantk
Date: Thu May 31 15:09:00 2018
New Revision: 333699

URL: http://llvm.org/viewvc/llvm-project?rev=333699&view=rev
Log:
[lldb-test] Make logging available to all subcommands

Modified:
    lldb/trunk/tools/lldb-test/lldb-test.cpp

Modified: lldb/trunk/tools/lldb-test/lldb-test.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-test/lldb-test.cpp?rev=333699&r1=333698&r2=333699&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-test/lldb-test.cpp (original)
+++ lldb/trunk/tools/lldb-test/lldb-test.cpp Thu May 31 15:09:00 2018
@@ -53,7 +53,10 @@ cl::SubCommand ModuleSubcommand("module-
                                 "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.




More information about the lldb-commits mailing list