diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-06-11 11:26:50 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-06-11 11:26:50 +0000 |
commit | dd6019526de2f26a9db21b90702fea8cbccc7e7c (patch) | |
tree | c6415cd8c88733deb0e5a420d9e93c732c375565 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | bc888f059d91f8480fb06af5765c30c639cf89a7 (diff) | |
download | bcm5719-llvm-dd6019526de2f26a9db21b90702fea8cbccc7e7c.tar.gz bcm5719-llvm-dd6019526de2f26a9db21b90702fea8cbccc7e7c.zip |
Let writeWindowsResourceCOFF() take a TimeStamp parameter
For lld, pass in Config->Timestamp (which is set based on lld's
/timestamp: and /Brepro flags). Since the writeWindowsResourceCOFF()
data is only used in-memory by LLD and the obj's timestamp isn't used
for anything in the output, this doesn't change behavior.
For llvm-cvtres, add an optional /timestamp: parameter, and use the
current behavior of calling time() if the parameter is not passed in.
This doesn't really change observable behavior (unless someone passes
/timestamp: to llvm-cvtres, which wasn't possible before), but it
removes the last unqualified call to time() from llvm/lib, which seems
like a good thing.
Differential Revision: https://reviews.llvm.org/D63116
llvm-svn: 363050
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions