diff options
| author | Zachary Turner <zturner@google.com> | 2016-05-24 18:55:14 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-05-24 18:55:14 +0000 |
| commit | 9e33e6f89bbe8f12856f3744e598470302dcf611 (patch) | |
| tree | 9ce7c4eed026670ae7248897cc9b1d8bd4f0418f /llvm/lib/DebugInfo/CodeView | |
| parent | f4edae6076d9c09f2c759b0b26bddf6e2eab8b13 (diff) | |
| download | bcm5719-llvm-9e33e6f89bbe8f12856f3744e598470302dcf611.tar.gz bcm5719-llvm-9e33e6f89bbe8f12856f3744e598470302dcf611.zip | |
[codeview, pdb] Dump symbol records in publics stream
Differential Revision: http://reviews.llvm.org/D20580
Reviewed By: ruiu
llvm-svn: 270597
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
| -rw-r--r-- | llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp b/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp index 2becd94b101..60a3b8156b6 100644 --- a/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp +++ b/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp @@ -537,6 +537,23 @@ void CVSymbolDumperImpl::visitInlineSiteSym(SymbolKind Kind, } } +void CVSymbolDumperImpl::visitPublicSym32(SymbolKind Kind, + PublicSym32 &Public) { + DictScope S(W, "PublicSym"); + W.printNumber("Type", Public.Header.Index); + W.printNumber("Seg", Public.Header.Seg); + W.printNumber("Off", Public.Header.Off); + W.printString("Name", Public.Name); +} + +void CVSymbolDumperImpl::visitProcRefSym(SymbolKind Kind, ProcRefSym &ProcRef) { + DictScope S(W, "ProcRef"); + W.printNumber("SumName", ProcRef.Header.SumName); + W.printNumber("SymOffset", ProcRef.Header.SymOffset); + W.printNumber("Mod", ProcRef.Header.Mod); + W.printString("Name", ProcRef.Name); +} + void CVSymbolDumperImpl::visitLabelSym(SymbolKind Kind, LabelSym &Label) { DictScope S(W, "Label"); |

