[Lldb-commits] [lldb] [lldb] Extend frame recognizers to hide frames from backtraces (PR #104523)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 16 08:40:44 PDT 2024
================
@@ -979,6 +988,8 @@ size_t StackFrameList::GetStatus(Stream &strm, uint32_t first_frame,
++num_frames_displayed;
}
+ if (filtered)
+ strm << "Note: Some frames were hidden by frame recognizers\n";
----------------
adrian-prantl wrote:
Yes, this is intentional. Frame recognizers are visible to users and can (in theory) be extended via scripting:
```
(lldb) help frame recognizer
Commands for editing and viewing frame recognizers.
Syntax: frame recognizer [<sub-command-options>]
The following subcommands are supported:
add -- Add a new frame recognizer.
clear -- Delete all frame recognizers.
delete -- Delete an existing frame recognizer by id.
info -- Show which frame recognizer is applied a stack frame (if any).
list -- Show a list of active frame recognizers.
For more help on any particular subcommand, type 'help <command> <subcommand>'.
```
https://github.com/llvm/llvm-project/pull/104523
More information about the lldb-commits
mailing list