As of Xcode 14.3 it passes -reproducible by default to ld64. It seems
this flag was added in ld64 with Xcode 14.0, but it is not documented.
Through my testing the only thing I have seen it do is the same as
ZERO_AR_DATE, but it's possible it does more, or will do more in the
future. Since we already default to this option, this is more about
handling the command line flag to maintain Xcode compatibility than
anything else.
Details
Details
- Reviewers
int3 - Group Reviewers
Restricted Project - Commits
- rG1167d676100f: [lld-macho] Add new -reproducible flag
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/test/MachO/stabs.s | ||
---|---|---|
45–46 | nvm I got confused about which value of ZERO_AR_DATE would give us a reproducible binary. Ignore the previous comment :) |
try to avoid run-on sentences