aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-06-30 21:35:00 +0000
committerZachary Turner <zturner@google.com>2017-06-30 21:35:00 +0000
commitaf8c75a8c0dd3b86e67c28089ab61aea565c5f95 (patch)
tree77b0ae71a4cc9221df4a9de8e567110e40a8dd9d /llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp
parent45a7462094fc204487b71de767fd87eb28a056e6 (diff)
downloadllvm-af8c75a8c0dd3b86e67c28089ab61aea565c5f95.zip
llvm-af8c75a8c0dd3b86e67c28089ab61aea565c5f95.tar.gz
llvm-af8c75a8c0dd3b86e67c28089ab61aea565c5f95.tar.bz2
[llvm-pdbutil] Output the symbol offset when dumping.
Type records have a unique type index, but symbol records do not. Instead, symbol records refer to other symbol records by referencing their offset in the symbol stream. In a sense this is the analogue of the TypeIndex, but we are not printing it in the dumper. Printing it not only gives us more useful information when manually investigating the contents of a PDB, but also allows us to write better tests by enabling us to verify that fields that reference other symbol records do so correctly. Differential Revision: https://reviews.llvm.org/D34906 llvm-svn: 306890
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp')
0 files changed, 0 insertions, 0 deletions