Previously unless ZERO_AR_DATE was set to any value, ld64.lld would
embed non-hermetic timestamps into the final binary. This flips that
default to zero those values unless ZERO_AR_DATE is set explicitly to 0.
As far as I know there isn't a downside to this, except that it differs
from ld64.
Details
Details
- Reviewers
MaskRay int3 - Group Reviewers
Restricted Project - Commits
- rG277c382760bf: [lld-macho] Flip ZERO_AR_DATE default
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't feel strongly about this if folks think we just shouldn't differ here, it just seems like the right default. For reference even though llvm-ar has D it defaults to this behavior as well.