[PATCH] D44047: [coff] Add command line flags /PDBAGE and /PDBGUID

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 15:11:15 PST 2018


zturner created this revision.
zturner added a reviewer: ruiu.
Herald added subscribers: hiraditya, mgorny.

MSVC doesn't implement these, but these should be generally useful options for people trying to support reproducible builds.

The need for these arose when I was trying to write a test for the reproducibility of the hash (https://reviews.llvm.org/D43978), because it hashes the guid and that is currently non-deterministic.  So in order to write a deterministic test I need a way to specify the GUID.  That said, I think people can find a use for this outside of tests as well.


https://reviews.llvm.org/D44047

Files:
  lld/COFF/Config.h
  lld/COFF/Driver.cpp
  lld/COFF/Options.td
  lld/COFF/Writer.cpp
  llvm/include/llvm/DebugInfo/CodeView/GUID.h
  llvm/lib/DebugInfo/CodeView/CMakeLists.txt
  llvm/lib/DebugInfo/CodeView/Formatters.cpp
  llvm/lib/DebugInfo/CodeView/GUID.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44047.136861.patch
Type: text/x-patch
Size: 9556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180302/04da8cad/attachment.bin>


More information about the llvm-commits mailing list