[all-commits] [llvm/llvm-project] 65e539: Pass the linker version to libfuzzer tests on darw...

Usama Hameed via All-commits all-commits at lists.llvm.org
Fri Apr 5 14:48:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65e5391657147d1bda3a4d9b26c9b3db0ca54fd7
      https://github.com/llvm/llvm-project/commit/65e5391657147d1bda3a4d9b26c9b3db0ca54fd7
  Author: Usama Hameed <u_hameed at apple.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M compiler-rt/test/fuzzer/lit.cfg.py

  Log Message:
  -----------
  Pass the linker version to libfuzzer tests on darwin (#87719)

The HOST_LINK_VERSION is a hardcoded string in Darwin clang that detects
the linker version at configure time. The driver uses this information
to build the correct set of arguments for the linker. This patch detects
the linker version again during compiler-rt configuration and passes it
to the libfuzzer tests. This allows a clang built on a machine with a
new linker to run compiler-rt tests on a machine with an old linker.

rdar://125932376



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