[Lldb-commits] [lldb] [lldb] Add frame recognizers for libc++	`std::invoke` (PR #105695)
    Adrian Vogelsgesang via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri Aug 23 05:18:00 PDT 2024
    
    
  
================
@@ -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:
By the way: I don't think I will be merging this part of my commit in the end. https://github.com/llvm/llvm-project/pull/105756 is very similar, and I think I will just rebase on it, after it got merged
https://github.com/llvm/llvm-project/pull/105695
    
    
More information about the lldb-commits
mailing list