[PATCH] D35738: Enable llvm-pdbutil to list enumerations using native PDB reader

Adrian McCarthy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 13:46:02 PDT 2017


amccarth updated this revision to Diff 109817.
amccarth added a comment.

Addressed additional feedback.

Also made createEnumSymbol go through findSymbolByTypeIndex to avoid making
duplicate symbols.


https://reviews.llvm.org/D35738

Files:
  llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbol.h
  llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
  llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h
  llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h
  llvm/lib/DebugInfo/PDB/CMakeLists.txt
  llvm/lib/DebugInfo/PDB/Native/NativeEnumSymbol.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
  llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test
  llvm/tools/llvm-pdbutil/PrettyEnumDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35738.109817.patch
Type: text/x-patch
Size: 17822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170804/4ed32690/attachment.bin>


More information about the llvm-commits mailing list