[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 6 17:29:27 PST 2020


xiaobai created this revision.
xiaobai added a reviewer: LLDB.
Herald added a project: LLDB.

Instead of asking each of the language plugins directly if a symbol is a
possible manghled name for that language, we can generalize this
pattern. By adding a method `IsMangledName` and iterating over each
loaded language plugin, we can avoid referencing any language plugin
directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74187

Files:
  lldb/include/lldb/Target/Language.h
  lldb/source/Core/Mangled.cpp
  lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
  lldb/source/Plugins/Language/ObjC/ObjCLanguage.h
  lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74187.243063.patch
Type: text/x-patch
Size: 4024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200207/f3771174/attachment.bin>


More information about the lldb-commits mailing list