OSDN Git Service

[PDB] Support pointer types in the native reader.
authorZachary Turner <zturner@google.com>
Fri, 7 Sep 2018 23:21:33 +0000 (23:21 +0000)
committerZachary Turner <zturner@google.com>
Fri, 7 Sep 2018 23:21:33 +0000 (23:21 +0000)
commit25ccaa7421bc05571a2f8d3bc07d2f63a6cbd3ae
treed76e78de8e9ffcb0c836971d8f905fd4f598b38d
parent265ce994cb22def180f7368771c6c9311035236f
[PDB] Support pointer types in the native reader.

In order to start testing this, I've added a new mode to
llvm-pdbutil which is only really useful for writing tests.
It just dumps the value of raw fields in record format.
This isn't really ideal and it won't allow us to test some
important cases, but it's better than nothing for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341729 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h
include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Native/SymbolCache.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp
lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp
lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
lib/DebugInfo/PDB/Native/NativeTypeBuiltin.cpp
lib/DebugInfo/PDB/Native/NativeTypeEnum.cpp
lib/DebugInfo/PDB/Native/NativeTypePointer.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/Native/SymbolCache.cpp
test/DebugInfo/PDB/Native/pdb-native-compilands.test
test/DebugInfo/PDB/Native/pdb-native-enums.test
tools/llvm-pdbutil/llvm-pdbutil.cpp