[Lldb-commits] [PATCH] Patch for LLDB demangler for demangling upon actual language

Ilia K ki.stfu at gmail.com
Fri Jan 30 11:15:20 PST 2015


Hi clayborg, zturner, jingham, k8stone,

This patch includes following changes:
  - Add Language member to Mangled class with corresponding constructor. Minor refactoring in places where Mangled instances used.
  - Function name demangling depending on its compile unit actual language.
  - Enable demangling for case if function/sym language still unknown at moment when demangling requested.
  - Flag indicating known language was set added. Demangler now is able to re-demangle given sym name if it language was re-set since Mangled object creation. Demangling against unknown language is allowed because in lldb unknown language means C++/ObjC in most cases implicitly.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7302

Files:
  include/lldb/Core/Mangled.h
  source/Core/Mangled.cpp
  source/Expression/ClangExpressionDeclMap.cpp
  source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
  source/Symbol/Function.cpp
  source/Symbol/Symbol.cpp
  source/Symbol/Variable.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7302.19049.patch
Type: text/x-patch
Size: 13352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150130/449df3c3/attachment.bin>


More information about the lldb-commits mailing list