[PATCH] D135529: [lld-macho] Flip ZERO_AR_DATE default

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 8 21:06:15 PDT 2022


keith created this revision.
Herald added subscribers: ormris, steven_wu, hiraditya.
Herald added projects: lld-macho, All.
Herald added a reviewer: lld-macho.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135529

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/test/MachO/lto-object-path.ll
  lld/test/MachO/stabs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135529.466337.patch
Type: text/x-patch
Size: 7366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221009/fb7825c5/attachment.bin>


More information about the llvm-commits mailing list