[Lldb-commits] [lldb] Add `target modules dump separate-debug-info` (PR #66035)
Tom Yang via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 12 12:23:20 PDT 2023
================
@@ -2462,6 +2483,93 @@ class CommandObjectTargetModulesDumpLineTable
CommandOptions m_options;
};
+#pragma mark CommandObjectTargetModulesDumpSeparateDebugInfoFiles
+
+// Image debug dwo dumping command
+
+class CommandObjectTargetModulesDumpSeparateDebugInfoFiles
+ : public CommandObjectTargetModulesModuleAutoComplete {
+public:
+ CommandObjectTargetModulesDumpSeparateDebugInfoFiles(
+ CommandInterpreter &interpreter)
+ : CommandObjectTargetModulesModuleAutoComplete(
+ interpreter, "target modules dump separate-debug-info",
+ "Dump the separate debug info symbol files for one or more target "
+ "modules.",
+ //"target modules dump separate-debug-info [<file1> ...]")
----------------
zhyty wrote:
I was following the pattern I noticed for some of the other classes like `CommandObjectTargetModulesDumpSections` where they add the help message as a comment. I don't mind removing it though, since it doesn't seem like *all* of the classes do it.
https://github.com/llvm/llvm-project/pull/66035
More information about the lldb-commits
mailing list