From 254314205974329bc7fcf7fff04a49b3d98ed154 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Thu, 27 Mar 2025 13:12:25 -0700 Subject: [PATCH] Pass -no_fixup_chains to the linker during creation of shared libraries This is needed to work around a limitation of the linker, which was causing it to crash on coverage-enabled bots. rdar://146130000 --- zorg/jenkins/jobs/jobs/llvm-coverage | 1 + 1 file changed, 1 insertion(+) diff --git a/zorg/jenkins/jobs/jobs/llvm-coverage b/zorg/jenkins/jobs/jobs/llvm-coverage index cd85cd795..5ffeab788 100755 --- a/zorg/jenkins/jobs/jobs/llvm-coverage +++ b/zorg/jenkins/jobs/jobs/llvm-coverage @@ -132,6 +132,7 @@ pipeline { --cmake-flag="-DLLVM_ENABLE_MODULES=Off" \ --cmake-flag="-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;AMDGPU;WebAssembly" \ --cmake-flag="-DCMAKE_EXE_LINKER_FLAGS=-Wl,-no_fixup_chains" \ + --cmake-flag="-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-no_fixup_chains" \ --cmake-type=Release \ --noupload '''