This is important for build determinism. This matches ld64.
Details
Details
- Reviewers
int3 gkm - Group Reviewers
Restricted Project - Commits
- rG0b39f055d887: [lld/mac] Don't write mtimes to N_OSO entries if ZERO_AR_DATE is set.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/MachO/DriverUtils.cpp | ||
---|---|---|
266–267 | nit: how about zeroModTime? It's true that modTime is only being used by the debug info, but we're changing how it's (not) being read as well, so it's a bit of a misnomer. Plus the name is pretty long :p | |
lld/test/MachO/stabs.s | ||
67 | if you changed this to a numeric substitution (like the line immediately below) you could specify a shorter -D#TEST_TIME=0 on the command line |
nit: how about zeroModTime? It's true that modTime is only being used by the debug info, but we're changing how it's (not) being read as well, so it's a bit of a misnomer. Plus the name is pretty long :p