diff options
| author | Zachary Turner <zturner@google.com> | 2016-05-24 22:58:46 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-05-24 22:58:46 +0000 |
| commit | 4caa1bf0bd42c05a47ba026446848e4abce73ab9 (patch) | |
| tree | 395cce9c4c66f9cd793fc2782b87de15eb07a5b5 /llvm/tools/llvm-pdbdump | |
| parent | 0b872d9399a05baf8ffc8734c8ac278793b27cfb (diff) | |
| download | bcm5719-llvm-4caa1bf0bd42c05a47ba026446848e4abce73ab9.tar.gz bcm5719-llvm-4caa1bf0bd42c05a47ba026446848e4abce73ab9.zip | |
[codeview] Add support for new type records.
This adds support for parsing and dumping the following
symbol types:
S_LPROCREF
S_ENVBLOCK
S_COMPILE2
S_REGISTER
S_COFFGROUP
S_SECTION
S_THUNK32
S_TRAMPOLINE
As of this patch, the test PDB files no longer have any unknown
symbol types.
llvm-svn: 270628
Diffstat (limited to 'llvm/tools/llvm-pdbdump')
| -rw-r--r-- | llvm/tools/llvm-pdbdump/CompilandDumper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-pdbdump/CompilandDumper.cpp b/llvm/tools/llvm-pdbdump/CompilandDumper.cpp index b7de0f2534e..5ec37cbbb5a 100644 --- a/llvm/tools/llvm-pdbdump/CompilandDumper.cpp +++ b/llvm/tools/llvm-pdbdump/CompilandDumper.cpp @@ -158,9 +158,9 @@ void CompilandDumper::dump(const PDBSymbolThunk &Symbol) { Printer.NewLine(); Printer << "thunk "; - PDB_ThunkOrdinal Ordinal = Symbol.getThunkOrdinal(); + codeview::ThunkOrdinal Ordinal = Symbol.getThunkOrdinal(); uint64_t VA = Symbol.getVirtualAddress(); - if (Ordinal == PDB_ThunkOrdinal::TrampIncremental) { + if (Ordinal == codeview::ThunkOrdinal::TrampIncremental) { uint64_t Target = Symbol.getTargetVirtualAddress(); WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(VA, 10); Printer << " -> "; |

