[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
Tue Aug 1 15:50:43 PDT 2017
amccarth updated this revision to Diff 109244.
amccarth added a comment.
Enable llvm-pdbutil to list enumerations using native PDB reader
Per suggestions, changed NativeEnumTypes to be both a container and an
iterator, which allows correct implementation of counting, etc.
Implemented most of the NativeEnumSymbol methods that had been #if'ed out. I
stopped overriding the rest of them, as the default handling of the
NativeRawSymbol base class is appropriate.
Still planning to list the actual members of the numeration in a separate
patch.
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.109244.patch
Type: text/x-patch
Size: 16008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/9721481a/attachment-0001.bin>
More information about the llvm-commits
mailing list