================
@@ -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);
----------------
Michael137 wrote:

I believe so yes. I don't know of a case where the C++ language plugin 
registration wouldn't trigger. IIUC, this would only happen if someone chose to 
compile the plugin out of LLDB when building it. I don't think we have a 
mechanism in CMake to do that yet? @jimingham @JDevlieghere Is my understanding 
correct here?

https://github.com/llvm/llvm-project/pull/166157
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to