[Lldb-commits] [PATCH] D52461: [PDB] Introduce `PDBNameParser`

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 25 05:48:11 PDT 2018


aleksandr.urakov created this revision.
aleksandr.urakov added reviewers: zturner, asmith, labath.
aleksandr.urakov added a project: LLDB.
Herald added subscribers: lldb-commits, teemperor, mgorny.

This patch introduces the simple `PDBNameParser`. It is needed for parsing names of PDB symbols corresponding to template instantiations. For example, for the name `N0::N1::Template<N0::N1::Class>` we can't just split the name with `::` (as it is implemented for now) to retrieve its scopes. This parser processes such names in a more correct way.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D52461

Files:
  lit/SymbolFile/PDB/Inputs/AstRestoreTest.cpp
  lit/SymbolFile/PDB/ast-restore.test
  source/Plugins/SymbolFile/PDB/CMakeLists.txt
  source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  source/Plugins/SymbolFile/PDB/PDBASTParser.h
  source/Plugins/SymbolFile/PDB/PDBNameParser.cpp
  source/Plugins/SymbolFile/PDB/PDBNameParser.h
  source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52461.166859.patch
Type: text/x-patch
Size: 23123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180925/997875ff/attachment-0001.bin>


More information about the lldb-commits mailing list