[llvm] 95bdbc8 - [JITLink] Add -phony-externals to silence test errors on some buildbots.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 25 09:56:50 PST 2023


Author: Lang Hames
Date: 2023-12-25T09:54:14-08:00
New Revision: 95bdbc8a28c5f5e91ea25bf246788b49aa6ec160

URL: https://github.com/llvm/llvm-project/commit/95bdbc8a28c5f5e91ea25bf246788b49aa6ec160
DIFF: https://github.com/llvm/llvm-project/commit/95bdbc8a28c5f5e91ea25bf246788b49aa6ec160.diff

LOG: [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.

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml
    llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml

Removed: 
    


################################################################################
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 dec9f274072cb7..bf72750eece051 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 704c611cf9f797..12542cf7c31427 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


        


More information about the llvm-commits mailing list