[ORC-RT] Check for jit-compatible-osx-swift-runtime on tests that need one.
authorLang Hames <lhames@gmail.com>
Mon, 17 Apr 2023 21:27:32 +0000 (14:27 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 17 Apr 2023 21:28:06 +0000 (14:28 -0700)
rdar://107846455

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

index 9fe3b92..529fd08 100644 (file)
@@ -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
index 1a0718c..bf3cb1e 100644 (file)
@@ -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
index 8e5f95c..36569b5 100644 (file)
@@ -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