[PATCH] D20876: [PDB] Print section contributions and section map

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 12:51:32 PDT 2016


zturner created this revision.
zturner added reviewers: ruiu, majnemer, rnk.
zturner added a subscriber: llvm-commits.

I'm not sure how to interpret either of these arrays, but at least we understand the format.

I suspect that the section map is used for determining RVAs of relocated fields, but I don't know how to do the calculation, and none of the fields of `OMFSegMapDesc` are documented in Microsoft headers (aside from printing their values, which is how I arrived at the layout) so the meaning is unclear.

http://reviews.llvm.org/D20876

Files:
  include/llvm/DebugInfo/CodeView/StreamReader.h
  include/llvm/DebugInfo/PDB/Raw/DbiStream.h
  include/llvm/DebugInfo/PDB/Raw/ISectionContrVisitor.h
  include/llvm/DebugInfo/PDB/Raw/PublicsStream.h
  include/llvm/DebugInfo/PDB/Raw/RawConstants.h
  include/llvm/DebugInfo/PDB/Raw/RawTypes.h
  lib/DebugInfo/PDB/Raw/DbiStream.cpp
  lib/DebugInfo/PDB/Raw/ModStream.cpp
  test/DebugInfo/PDB/pdbdump-headers.test
  tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20876.59266.patch
Type: text/x-patch
Size: 26648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160601/8a8147c2/attachment.bin>


More information about the llvm-commits mailing list