[Lldb-commits] [lldb] [lldb] Fix CXX's SymbolNameFitsToLanguage matching other languages (PR #153685)

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 14 14:18:47 PDT 2025


================
@@ -105,7 +105,8 @@ CPlusPlusLanguage::GetFunctionNameInfo(ConstString name) const {
 
 bool CPlusPlusLanguage::SymbolNameFitsToLanguage(Mangled mangled) const {
   const char *mangled_name = mangled.GetMangledName().GetCString();
-  return mangled_name && Mangled::IsMangledName(mangled_name);
+  return mangled_name && Mangled::GetManglingScheme(mangled_name) ==
----------------
augusto2112 wrote:

I guess I could check if it's Itanium of MSVC?

https://github.com/llvm/llvm-project/pull/153685


More information about the lldb-commits mailing list