[all-commits] [llvm/llvm-project] 277c38: [lld-macho] Flip ZERO_AR_DATE default

Keith Smiley via All-commits all-commits at lists.llvm.org
Mon Oct 10 13:11:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 277c382760bf9575cfa2eac73d5ad1db91466d3f
      https://github.com/llvm/llvm-project/commit/277c382760bf9575cfa2eac73d5ad1db91466d3f
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/docs/MachO/ld64-vs-lld.rst
    M lld/test/MachO/lto-object-path.ll
    M lld/test/MachO/stabs.s

  Log Message:
  -----------
  [lld-macho] Flip ZERO_AR_DATE default

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.

Differential Revision: https://reviews.llvm.org/D135529




More information about the All-commits mailing list