This is an archive of the discontinued LLVM Phabricator instance.

[lld] Write the DataCRC to the output PDB
AcceptedPublic

Authored by zturner on Aug 4 2017, 4:10 PM.

Details

Reviewers
rnk
compnerd
ruiu
Summary

This matches what MSVC does, and I have confirmed that the CRC we write is the same value as the one they write.

Diff Detail

Event Timeline

zturner created this revision.Aug 4 2017, 4:10 PM
rnk accepted this revision.Aug 4 2017, 5:39 PM

lgtm! Maybe RelocCrc is the CRC of the base relocations? Unclear.

This revision is now accepted and ready to land.Aug 4 2017, 5:39 PM
compnerd accepted this revision.Aug 5 2017, 11:43 AM
compnerd added inline comments.
lld/COFF/PDB.cpp
696

Probably can get away with auto here.