[all-commits] [llvm/llvm-project] 3bc71c: Get the linker version and pass the it to compiler...
Usama Hameed via All-commits
all-commits at lists.llvm.org
Fri Mar 22 15:29:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3bc71c2abfa00413fd15cf0e5c08af6ec0d4768b
https://github.com/llvm/llvm-project/commit/3bc71c2abfa00413fd15cf0e5c08af6ec0d4768b
Author: Usama Hameed <u_hameed at apple.com>
Date: 2024-03-22 (Fri, 22 Mar 2024)
Changed paths:
M clang/CMakeLists.txt
A cmake/Modules/GetDarwinLinkerVersion.cmake
M compiler-rt/CMakeLists.txt
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/lit.common.configured.in
Log Message:
-----------
Get the linker version and pass the it to compiler-rt tests on Darwin. (#86220)
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 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://125198603
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