Hui added a comment. In https://reviews.llvm.org/D52461#1249259, @aleksandr.urakov wrote:
> In https://reviews.llvm.org/D52461#1245058, @clayborg wrote: > > > Try to use and extend CPlusPlusLanguage::MethodName as needed. I believe it > > was recently backed by a new clang parser that knows how to chop up C++ > > demangled names > > > It seems that `CPlusPlusLanguage::MethodName` is backed by LLDB > `CPlusPlusNameParser`, which can't parse demangled names... Can you tell me, > please, how is called a new Clang parser you have mentioned? May be I'll use > it directly instead of `PDBNameParser`, or will back `PDBNameParser` by it > (if the interface will be not very convenient)? Maybe you can try RichManglingContext::FromCxxMethodName(the_demangled_name). Parse it wtih RichManglingContext::ParseFunctionBaseName and extract the full/base name or function decl context (NS) if any with related methods. No need to introduce a new one. Repository: rLLDB LLDB https://reviews.llvm.org/D52461 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits