From 95bdbc8a28c5f5e91ea25bf246788b49aa6ec160 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 25 Dec 2023 09:54:14 -0800 Subject: [PATCH] [JITLink] Add -phony-externals to silence test errors on some buildbots. The recently added MachO_subtractor_single_block tests reference C++ itanium ABI symbols, but these break on some Windows systems (see e.g. https://lab.llvm.org/buildbot/#/builders/117/builds/17021). Adding -phony-externals should suppress the errors. --- .../JITLink/AArch64/MachO_subtractor_single_block.yaml | 2 +- .../JITLink/x86-64/MachO_subtractor_single_block.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml index dec9f274072c..bf72750eece0 100644 --- a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml +++ b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml @@ -1,5 +1,5 @@ # RUN: yaml2obj %s -o %t -# RUN: llvm-jitlink -noexec %t +# RUN: llvm-jitlink -noexec -phony-externals %t # # Check that MachO::ARM64_RELOC_SUBTRACTOR relocations work when the fixup # location and target are in the same block (in this case in the __eh_frame diff --git a/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml b/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml index 704c611cf9f7..12542cf7c314 100644 --- a/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml +++ b/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml @@ -1,5 +1,5 @@ # RUN: yaml2obj %s -o %t -# RUN: llvm-jitlink -noexec %t +# RUN: llvm-jitlink -noexec -phony-externals %t # # Check that MachO::X86_64_RELOC_SUBTRACTOR relocations work when the fixup # location and target are in the same block (in this case in the __eh_frame