[Lldb-commits] [lldb] [lldb] Remove --debug/-d option from lldb (PR #179978)

via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 5 08:52:35 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

<details>
<summary>Changes</summary>

The functionality was removed in d3173f4ab61c17337908eb7df3f1c515ddcd428c after being broken for a long time.

There's a small risk someone is still passing the option, but I think it's time to remove it.

---
Full diff: https://github.com/llvm/llvm-project/pull/179978.diff


1 Files Affected:

- (modified) lldb/tools/driver/Options.td (-5) 


``````````diff
diff --git a/lldb/tools/driver/Options.td b/lldb/tools/driver/Options.td
index 311e2602cc41f..e8f1bd993176e 100644
--- a/lldb/tools/driver/Options.td
+++ b/lldb/tools/driver/Options.td
@@ -240,9 +240,4 @@ def arch : Separate<["--", "-"], "arch">,
                     "starting and running the program.">;
 def : Separate<["-"], "a">, Alias<arch>, HelpText<"Alias for --arch">;
 
-def debug : F<"debug">,
-            HelpText<"Tells the debugger to print out extra information for "
-                     "debugging itself.">;
-def : Flag<["-"], "d">, Alias<debug>, HelpText<"Alias for --debug">;
-
 def REM : R<["--"], "">;

``````````

</details>


https://github.com/llvm/llvm-project/pull/179978


More information about the lldb-commits mailing list