[all-commits] [llvm/llvm-project] 2f5505: [compiler-rt] Don't explicitly ad-hoc code sign dy...

Mark Rowe via All-commits all-commits at lists.llvm.org
Thu Apr 11 16:28:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f55056c89dd1ccb1aa69a9aed68048a59413d4d
      https://github.com/llvm/llvm-project/commit/2f55056c89dd1ccb1aa69a9aed68048a59413d4d
  Author: Mark Rowe <mrowe at bdash.net.nz>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  [compiler-rt] Don't explicitly ad-hoc code sign dylibs if using Apple's new linker (#88323)

Apple's new linker reports itself as ld rather than ld64 and does not
match the version detection regex.

Invert the logic to look only for older versions of ld64. This ensures
the runtime dylibs are left with a linker-generated code signature that
tools such as `strip` will preserve.

Co-authored-by: Mark Rowe <markrowe at chromium.org>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list