Change the way we calculate the build id to use MD5 to give reproducible build
ids. Previously we would generate random bytes for the build id GUID.
Details
Details
- Reviewers
ruiu
Diff Detail
Diff Detail
Event Timeline
| COFF/Writer.cpp | ||
|---|---|---|
| 84–86 | Please add a comment saying that we save DI to backfill DI->PDB70.Signature in Writer::writeBuildId. | |
| 89 | It's a fresh file, so as long as you don't write anything, zeros are there, so this is a nop. | |
| 98 | DI = nullptr; | |
| 805 | Add a comment that why we have this (to fill CVSignature) and why we do this way (to get reproducible outputs.) | |
Please add a comment saying that we save DI to backfill DI->PDB70.Signature in Writer::writeBuildId.