jasonmolenda wrote:

Ah sorry was still writing and posted by accident.

For stepping we have a user exposed setting 
`target.process.thread.step-avoid-regexp` which lldb uses to step over C++ 
inlined methods in your code, and allow the user to extend this to add it for 
their own libraries.  I know these frame recognizers are coming from the 
Language plugins so it's not as simple as a single master regex list like 
`target.process.thread.step-avoid-regexp` that a user can add on to.  But i do 
wonder if there should be a way for a user to provide regexes that should 
behave this way too.

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.

https://github.com/llvm/llvm-project/pull/104523
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to