[PATCH] D36332: [llvm-pdbutil] Dump image section headers

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 11:24:51 PDT 2017


zturner created this revision.

By dumping the image section headers that get written to the PDB, I'm also now able to write a test that LLD writes these image section headers to the PDB.

Unfortunately, I don't know of a good way to write a test that the values that get written correspond to the correct values in the actual executable.


https://reviews.llvm.org/D36332

Files:
  lld/test/COFF/pdb.test
  llvm/test/DebugInfo/PDB/section-headers.test
  llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
  llvm/tools/llvm-pdbutil/DumpOutputStyle.h
  llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
  llvm/tools/llvm-pdbutil/llvm-pdbutil.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36332.109783.patch
Type: text/x-patch
Size: 16307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170804/f95bc3c1/attachment.bin>


More information about the llvm-commits mailing list