[all-commits] [llvm/llvm-project] 1167d6: [lld-macho] Add new -reproducible flag

Keith Smiley via All-commits all-commits at lists.llvm.org
Thu Apr 6 10:01:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1167d676100ffebcafaf130b3af9250d81c4f5c7
      https://github.com/llvm/llvm-project/commit/1167d676100ffebcafaf130b3af9250d81c4f5c7
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/stabs.s

  Log Message:
  -----------
  [lld-macho] Add new -reproducible flag

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.

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




More information about the All-commits mailing list