diff options
author | Zachary Turner <zturner@google.com> | 2018-09-07 23:21:33 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-09-07 23:21:33 +0000 |
commit | da4b63ab9afede44bb063adf26d5e9e5f14818c2 (patch) | |
tree | 161b138a94040692344529a1273b55928b8e4975 /llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp | |
parent | 28655081a476d8808e9e2c0900d4ca87fb17abe3 (diff) | |
download | bcm5719-llvm-da4b63ab9afede44bb063adf26d5e9e5f14818c2.tar.gz bcm5719-llvm-da4b63ab9afede44bb063adf26d5e9e5f14818c2.zip |
[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.
llvm-svn: 341729
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp index 59eaf3e8d49..1fbdc2b49ec 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp @@ -47,6 +47,8 @@ NativeExeSymbol::findChildren(PDB_SymType Type) const { } case PDB_SymType::Enum: return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ENUM); + case PDB_SymType::PointerType: + return Session.getSymbolCache().createTypeEnumerator(codeview::LF_POINTER); default: break; } |