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. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits