slydiman wrote: Note `Language::ForEach()` gives the following list: ``` cplusplus(eLanguageTypeC_plus_plus) objc(eLanguageTypeObjC) objcplusplus(eLanguageTypeObjC_plus_plus) cplusplus(eLanguageTypeC_plus_plus_03) cplusplus(eLanguageTypeC_plus_plus_11) cplusplus(eLanguageTypeC_plus_plus_14) cplusplus(eLanguageTypeC_plus_plus_17) cplusplus(eLanguageTypeC_plus_plus_20) ``` so cplusplus plug-in was called many times. The order of language plug-ins in CMakeLists.txt does not matter.
I have optimized `Module::LookupInfo()` a lot. Note if name_type_mask = eFunctionNameTypeAuto it is very important to call all plugins and cplusplus->GetFunctionNameInfo(). gives `eFunctionNameTypeMethod | eFunctionNameTypeBase` flags to ObjC names. The TestExternCSymbols.py test failed because of missing logic ``` // Still try and get a basename in case someone specifies a name type mask // of eFunctionNameTypeFull and a name like "A::func" ``` It must be fixed now. https://github.com/llvm/llvm-project/pull/135033 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits