[llvm] e4d4ebe - [llvm][llvm-jitlink] Disable test on Windows on Arm

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 02:25:40 PST 2024


Author: David Spickett
Date: 2024-02-22T10:23:02Z
New Revision: e4d4ebe0415b9f1fd8cb034ac68f0616f12facf2

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

LOG: [llvm][llvm-jitlink] Disable test on Windows on Arm

This fails on one of our bots:
https://lab.llvm.org/buildbot/#/builders/120/builds/6309

llvm-jitlink error: Unsupported target machine architecture in COFF object

The other bot doesn't run the test at all it seems but I can't explain
why. It's also possible that I'm mistaken and the mostly native but still
"cross compiling" setup we have on WoA means an x86 object is produced sometimes
(perhaps because a default triple is still x86).

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test b/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test
index 33ad5515a6357a..ec71011d545ebd 100644
--- a/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test
+++ b/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test
@@ -5,4 +5,7 @@
 #
 # Use -sectcreate to create a section from a data file.
 
+# Jitlink does not support ARM64 COFF files.
+# UNSUPPORTED: target=aarch64-pc-windows-{{.*}}
+
 # jitlink-check: *{4}foo = 0x2a2a5a5a
\ No newline at end of file


        


More information about the llvm-commits mailing list