[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)
Dan Liew via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 3 06:53:29 PST 2025
================
@@ -107,12 +108,15 @@ class LibCXXFrameRecognizer : public StackFrameRecognizer {
CPPLanguageRuntime::CPPLanguageRuntime(Process *process)
: LanguageRuntime(process) {
- if (process)
+ if (process) {
process->GetTarget().GetFrameRecognizerManager().AddRecognizer(
StackFrameRecognizerSP(new LibCXXFrameRecognizer()), {},
std::make_shared<RegularExpression>("^std::__[^:]*::"),
/*mangling_preference=*/Mangled::ePreferDemangledWithoutArguments,
/*first_instruction_only=*/false);
+
+ RegisterVerboseTrapFrameRecognizer(*process);
----------------
delcypher wrote:
Is `CPPLanguageRuntime` guaranteed to be loaded even if the process being debugged was built with C only?
https://github.com/llvm/llvm-project/pull/166157
More information about the lldb-commits
mailing list