[MCJIT] Mark test-global-ctors as UNSUPPORTED on Darwin, rather than XFAIL.
authorLang Hames <lhames@gmail.com>
Sun, 26 Sep 2021 22:10:33 +0000 (15:10 -0700)
committerLang Hames <lhames@gmail.com>
Tue, 28 Sep 2021 17:43:46 +0000 (10:43 -0700)
MachO doesn't have a '.text.startup' -- this is just plain unsupported.

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

index a0881de..f0f77b2 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: %lli -jit-kind=mcjit %s > /dev/null
 ; RUN: %lli %s > /dev/null
-; XFAIL: darwin
+; UNSUPPORTED: darwin
 @var = global i32 1, align 4
 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @ctor_func, i8* null }]
 @llvm.global_dtors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @dtor_func, i8* null }]