Generate deterministic timestamp (#40122)
authorDavid Wrighton <davidwr@microsoft.com>
Thu, 30 Jul 2020 19:31:32 +0000 (12:31 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 19:31:32 +0000 (12:31 -0700)
commit47f9d4b5012a45d687c6544bfe8436d233cd6472
treeee83fcca353c97aca8842097d42e3b8fde48c00e
parent65b8cf21a4c1396082498ea41abee85913865497
Generate deterministic timestamp (#40122)

- Port the logic from the Roslyn compiler that handles deterministic timestamp generation
- Enable for composite images

This allows matching up generated pdb files with the composite image to work correctly in all known cases.
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/CodeGen/ReadyToRunObjectWriter.cs
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/Compiler/CryptographicHashProvider.cs [new file with mode: 0644]
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DebugDirectoryNode.cs
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/IBC/IBCProfileParser.cs
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/R2RPEBuilder.cs