summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-10-01 17:55:16 +0000
committerZachary Turner <zturner@google.com>2018-10-01 17:55:16 +0000
commit5c1873b21351779f51857991320657f7eb0dc7b2 (patch)
tree298a2790f6237e94c06e4643c879f7c8d9568ab7 /llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
parent7159daa68ebc88abf88196ef960bcf42cdff30dd (diff)
downloadbcm5719-llvm-5c1873b21351779f51857991320657f7eb0dc7b2.tar.gz
bcm5719-llvm-5c1873b21351779f51857991320657f7eb0dc7b2.zip
[PDB] Add support for parsing VFTable Shape records.
This allows them to be returned from the native API. llvm-svn: 343506
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp2
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 14a0fb4c93a..e86f836ee14 100644
--- a/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
@@ -51,6 +51,8 @@ NativeExeSymbol::findChildren(PDB_SymType Type) const {
return Session.getSymbolCache().createTypeEnumerator(
{codeview::LF_STRUCTURE, codeview::LF_CLASS, codeview::LF_UNION,
codeview::LF_INTERFACE});
+ case PDB_SymType::VTableShape:
+ return Session.getSymbolCache().createTypeEnumerator(codeview::LF_VTSHAPE);
case PDB_SymType::FunctionSig:
return Session.getSymbolCache().createTypeEnumerator(
{codeview::LF_PROCEDURE, codeview::LF_MFUNCTION});
OpenPOWER on IntegriCloud