[compiler-rt] 22267f6 - [ORC-RT] Check for jit-compatible-osx-swift-runtime on tests that need one.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 17 14:28:12 PDT 2023


Author: Lang Hames
Date: 2023-04-17T14:28:06-07:00
New Revision: 22267f6f8c183653ff81c62d7d0b0abb4a6eeeef

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

LOG: [ORC-RT] Check for jit-compatible-osx-swift-runtime on tests that need one.

rdar://107846455

Added: 
    

Modified: 
    compiler-rt/test/orc/TestCases/Darwin/arm64/objc-category.S
    compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-objc-methods.S
    compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-objc-methods.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-category.S b/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-category.S
index 9fe3b9280e6f7..529fd08035b40 100644
--- a/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-category.S
+++ b/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-category.S
@@ -6,6 +6,8 @@
 //
 // RUN: %clang -c -o %t.o %s
 // RUN: %llvm_jitlink -preload libobjc.A.dylib %t.o
+//
+// REQUIRES: jit-compatible-osx-swift-runtime
 
 	.section	__TEXT,__text,regular,pure_instructions
 	.build_version macos, 14, 0

diff  --git a/compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-objc-methods.S b/compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-objc-methods.S
index 1a0718c0b822c..bf3cb1ec91e8e 100644
--- a/compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-objc-methods.S
+++ b/compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-objc-methods.S
@@ -1,6 +1,8 @@
 // RUN: %clang -c -o %t %s
 // RUN: %llvm_jitlink -preload libobjc.A.dylib %t
 //
+// REQUIRES: jit-compatible-osx-swift-runtime
+//
 // Test that Objective-C class and instance methods work.
 
 	.section	__TEXT,__text,regular,pure_instructions

diff  --git a/compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-objc-methods.S b/compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-objc-methods.S
index 8e5f95cd27e56..36569b5d2e70a 100644
--- a/compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-objc-methods.S
+++ b/compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-objc-methods.S
@@ -1,6 +1,8 @@
 // RUN: %clang -c -o %t %s
 // RUN: %llvm_jitlink -preload libobjc.A.dylib %t
 //
+// REQUIRES: jit-compatible-osx-swift-runtime
+//
 // Test that Objective-C class and instance methods work.
 
 	.section	__TEXT,__text,regular,pure_instructions


        


More information about the llvm-commits mailing list