[Lldb-commits] [lldb] [lldb] Extend frame recognizers to hide frames from backtraces (PR #104523)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 20 11:40:32 PDT 2024


================
@@ -1208,7 +1208,8 @@ bool SBThread::GetStatus(SBStream &status) const {
   ExecutionContext exe_ctx(m_opaque_sp.get(), lock);
 
   if (exe_ctx.HasThreadScope()) {
-    exe_ctx.GetThreadPtr()->GetStatus(strm, 0, 1, 1, true);
+    exe_ctx.GetThreadPtr()->GetStatus(strm, 0, 1, 1, true,
+                                      /*show_hidden*/ true);
----------------
JDevlieghere wrote:

Nit: we use `=*/` because that's what the [clang-tidy check](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html) understands. 
```suggestion
                                      /*show_hidden=*/ true);
```

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


More information about the lldb-commits mailing list