This is an archive of the discontinued LLVM Phabricator instance.

[llvm-pdbutil] Dump image section headers
ClosedPublic

Authored by zturner on Aug 4 2017, 11:24 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

zturner created this revision.Aug 4 2017, 11:24 AM
rnk accepted this revision.Aug 4 2017, 11:28 AM

lgtm

Thanks, I was looking for this yesterday. :)

llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
1073 ↗(On Diff #109783)

Should be "dumping section headers stream"

This revision is now accepted and ready to land.Aug 4 2017, 11:28 AM
This revision was automatically updated to reflect the committed changes.