Skip to content

Commit 30f5a3c

Browse files
committed
[MCJIT][ORC] Change test guards to 'UNSUPPORTED: system-darwin'.
These tests were guarded with 'UNSUPPORTED: target={{.*}}-darwin{{.*}}', but that check may unintentionally pass if LLVM is configured with a host triple that specifies a specific Darwin flavor, e.g. macOS with -DLLVM_HOST_TRIPLE:STRING=aarch64-apple-macosx13.0. All darwin flavors should set 'system-darwin', so this is a safer feature to check. rdar://134942819
1 parent 9f255d8 commit 30f5a3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: %lli -jit-kind=mcjit %s > /dev/null
22
; RUN: %lli %s > /dev/null
3-
; UNSUPPORTED: target={{.*}}-darwin{{.*}}
3+
; UNSUPPORTED: system-darwin
44
@var = global i32 1, align 4
55
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @ctor_func, ptr null }]
66
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @dtor_func, ptr null }]

llvm/test/ExecutionEngine/Orc/weak-comdat.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: lli -extra-module %p/Inputs/weak-comdat-def.ll %s
2-
; UNSUPPORTED: target={{.*}}-darwin{{.*}}
2+
; UNSUPPORTED: system-darwin
33

44
declare i32 @g()
55

0 commit comments

Comments
 (0)