[Lldb-commits] [lldb] [lldb] Extend frame recognizers to hide frames from backtraces (PR #104523)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 15 18:26:14 PDT 2024
================
@@ -1048,6 +1048,9 @@ let Command = "thread backtrace" in {
Arg<"FrameIndex">, Desc<"Frame in which to start the backtrace">;
def thread_backtrace_extended : Option<"extended", "e">, Group<1>,
Arg<"Boolean">, Desc<"Show the extended backtrace, if available">;
+ def thread_backtrace_full : Option<"filtered", "f">, Group<1>,
+ Arg<"Boolean">,
----------------
medismailben wrote:
```suggestion
```
If you make this a `Boolean` you have to pass an argument to the option (`thread backtrace -f true`). If you don't specify it, you don't have to parse the argument into a boolean `SetOptionValue`, you just have to check the short option and set your flag.
https://github.com/llvm/llvm-project/pull/104523
More information about the lldb-commits
mailing list