diff options
author | Rui Ueyama <ruiu@google.com> | 2017-06-21 16:42:08 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-06-21 16:42:08 +0000 |
commit | 28ea8c7ad78cab64d9b551de5d368b89216b9741 (patch) | |
tree | d13f388dc69c9fa0a24aa03adea5e901d324ce46 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 4bd39300efee1328ab48c5494b325b69eaeba207 (diff) | |
download | llvm-28ea8c7ad78cab64d9b551de5d368b89216b9741.zip llvm-28ea8c7ad78cab64d9b551de5d368b89216b9741.tar.gz llvm-28ea8c7ad78cab64d9b551de5d368b89216b9741.tar.bz2 |
[COFF] Set MajorLinkerVersion to 14 instead of 0.
This works around a strange interaction with Authenticode signatures,
in which a signed PE executable with {Major,Minor}LinkerVersion = 0.0
fails to validate on Windows 7 (but is OK on Windows 10). Setting the
linker version to 14.0 (which is what VS2015 outputs) makes it work
again.
Patch by Simon Tatham <simon.tatham@arm.com>.
llvm-svn: 305929
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions