[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:48:53 PDT 2024
adrian-prantl wrote:
> ... But i do wonder if there should be a way for a user to provide regexes that should behave this way too.
The idea is that users can write their own frame recognizers in Python (though I have not exposed this in this patch). I'll see if I can ad this!
> I don't know about printing the "Some frames were omitted" message by default when this takes place. Then again, I guess with the recognizers we're talking about here with C++ it will not be common, and so the one backtrace during your session where there's std::function stuff on the stack and it's omitted, it wouldn't be noisy. I don't know how frequent you think these recognizers might match for Swift code.
Thinking of it, it is probably good enough to explain this in `help thread backtrace` and `help bt`?
https://github.com/llvm/llvm-project/pull/104523
More information about the lldb-commits
mailing list