From e5f1c6d3dae658cbdd19bf3ab5eea0573c95a531 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Mon, 24 Feb 2014 21:37:30 +0000 Subject: Disable an MCJIT test on older Darwins until we have a better interface. See [MCJIT] provide a platform-independent way to communicate callee-save frame info. [MCJIT] get the host OS version from a runtime check, not a configure-time check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202082 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'unittests') diff --git a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp index f6deb2f9b2..02bb092990 100644 --- a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp +++ b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp @@ -387,8 +387,12 @@ TEST_F(MCJITCAPITest, stackmap_creates_compact_unwind_on_darwin) { // data is made available only through compact_unwind. It would be // worthwhile to extend this to handle non-Darwin platforms, in which // case you'd want to look for an eh_frame or something. + // + // FIXME: Currently, MCJIT relies on a configure-time check to determine which + // sections to emit. The JIT client should have runtime control over this. EXPECT_TRUE( Triple(HostTriple).getOS() != Triple::Darwin || + Triple(HostTriple).isMacOSXVersionLT(10, 7) || didAllocateCompactUnwindSection); } -- cgit v1.2.3