OSDN Git Service

[PDB] Add support for dumping Typedef records.
authorZachary Turner <zturner@google.com>
Mon, 1 Oct 2018 17:55:38 +0000 (17:55 +0000)
committerZachary Turner <zturner@google.com>
Mon, 1 Oct 2018 17:55:38 +0000 (17:55 +0000)
commitb47810926d8534cf19c2a4252b1d0a5eb3d8e67f
treee6fd7b2f18dda3ff6332eac82b02ba3422bf8632
parenta93560b336fa62579d438e61f461942aaf2e576f
[PDB] Add support for dumping Typedef records.

These work a little differently because they are actually in
the globals stream and are treated as symbol records, even though
DIA presents them as types.  So this also adds the necessary
infrastructure to cache records that live somewhere other than
the TPI stream as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343507 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h
include/llvm/DebugInfo/PDB/Native/SymbolCache.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Native/NativeEnumGlobals.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
lib/DebugInfo/PDB/Native/NativeTypeTypedef.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/Native/SymbolCache.cpp
test/DebugInfo/PDB/Native/pdb-native-typedefs.test [new file with mode: 0644]
test/tools/llvm-pdbdump/type-qualifiers.test
tools/llvm-pdbutil/PrettyTypedefDumper.cpp
tools/llvm-pdbutil/llvm-pdbutil.cpp