[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 Jul 21 15:02:34 PDT 2017
amccarth created this revision.
Herald added subscribers: hiraditya, mgorny.
This extends the native reader to enable llvm-pdbutil to list the enums in a
PDB and it includes a simple test. It does not yet list the values in the
enumerations, which requires an actual implementation of
NativeEnumSymbol::FindChildren.
To exercise this code, use a command like:
llvm-pdbutil pretty -native -enums foo.pdb
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/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.107724.patch
Type: text/x-patch
Size: 15103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170721/92992c4e/attachment.bin>
More information about the llvm-commits
mailing list