================ @@ -145,6 +167,17 @@ StackFrameRecognizerManager::GetRecognizerForFrame(StackFrameSP frame) { if (!entry.module_regexp->Execute(module_name.GetStringRef())) continue; + ConstString function_name = [&]() { + switch (entry.mangling_preference) { + case Mangled::ePreferMangled: + return function_name_mangled; + case Mangled::ePreferDemangled: + return function_name_demangled; + case Mangled::ePreferDemangledWithoutArguments: + return function_name_noargs; + } + }(); ---------------- vogelsgesang wrote:
> @vogelsgesang I closed my PR, feel free to copy&paste what you find useful. I did copy over: * the improved comments in `StackFrameRecognizer.h` * the printing improvements to `frame recognizer list` (but I am using a slightly different format) However, I did not change the `VerboseTrapFrameRecognizer` and `AssertFrameRecognizer` to use the mangled names. I will leave this for a follow-up commit. https://github.com/llvm/llvm-project/pull/105695 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits