diff options
author | Zachary Turner <zturner@google.com> | 2018-05-17 15:11:01 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-05-17 15:11:01 +0000 |
commit | c8dd6ccc8a358273114ef7e6f19ad59f6258048c (patch) | |
tree | bc4d49450de5c3cc85f70afd762f6e22442aec53 /lldb/packages/Python/lldbsuite/test/expression_command | |
parent | 07d4730ca4d671ebed4423595eeceebd9e2e523e (diff) | |
download | bcm5719-llvm-c8dd6ccc8a358273114ef7e6f19ad59f6258048c.tar.gz bcm5719-llvm-c8dd6ccc8a358273114ef7e6f19ad59f6258048c.zip |
[COFF] Add /Brepro and /TIMESTAMP options.
Previously we would always write a hash of the binary into the
PE file, for reproducible builds. This breaks AppCompat, which
is a feature of Windows that relies on the timestamp in the PE
header being set to a real value (or at the very least, a value
that satisfies certain properties).
To address this, we put the old behavior of writing the hash
behind the /Brepro flag, which mimics MSVC linker behavior. We
also match MSVC default behavior, which is to write an actual
timestamp to the PE header. Finally, we add the /TIMESTAMP
option (an lld extension) so that the user can specify the exact
value to be used in case he/she manually constructs a value which
is both reproducible and satisfies AppCompat.
Differential Revision: https://reviews.llvm.org/D46966
llvm-svn: 332613
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions