diff options
author | Zachary Turner <zturner@google.com> | 2018-09-21 22:36:28 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-09-21 22:36:28 +0000 |
commit | 6345e84dde9532483c109ab0df365f64b5d8852b (patch) | |
tree | 3a9c64941563062a050a42a0c09bf37f4239971d /llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp | |
parent | 355ffb0032182e74f64349dc7e4b941147bac2a2 (diff) | |
download | bcm5719-llvm-6345e84dde9532483c109ab0df365f64b5d8852b.tar.gz bcm5719-llvm-6345e84dde9532483c109ab0df365f64b5d8852b.zip |
[NativePDB] Add support for reading function signatures.
This adds support for parsing function signature records and returning
them through the native DIA interface.
llvm-svn: 342780
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp index ca173808358..bcc2198a5df 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp @@ -49,6 +49,10 @@ 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::FunctionSig: + return Session.getSymbolCache().createTypeEnumerator( + {codeview::LF_PROCEDURE, codeview::LF_MFUNCTION}); + default: break; } |