[Lldb-commits] [PATCH] D43059: Add implementation for MSVC in CPlusPlusLanguage::IsCPPMangledName

Aaron Smith via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 8 12:18:33 PST 2018


asmith added a comment.

IsCPPMangledName() is a public method to determine if a symbol has a mangled name.

This change is needed so that lldb can find symbols with MSVC style mangled names.

Open to suggestions on a better way to deal with this...

Here are all the places it is used:

source/Core/Module.cpp:    if (CPlusPlusLanguage::IsCPPMangledName(name_cstr))
source/Core/Module.cpp:          !CPlusPlusLanguage::IsCPPMangledName(name_cstr)) {
source/Core/Mangled.cpp:      if (CPlusPlusLanguage::IsCPPMangledName(mangled_name))
source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp:                           !CPlusPlusLanguage::IsCPPMangledName(name)) ||
source/Expression/IRExecutionUnit.cpp:    if (CPlusPlusLanguage::IsCPPMangledName(name.GetCString())) {
source/Expression/IRExecutionUnit.cpp:    if (CPlusPlusLanguage::IsCPPMangledName(name.GetCString())) {


Repository:
  rL LLVM

https://reviews.llvm.org/D43059





More information about the lldb-commits mailing list