[llvm] r202082 - Disable an MCJIT test on older Darwins until we have a better interface.

Andrew Trick atrick at apple.com
Mon Feb 24 13:37:30 PST 2014


Author: atrick
Date: Mon Feb 24 15:37:30 2014
New Revision: 202082

URL: http://llvm.org/viewvc/llvm-project?rev=202082&view=rev
Log:
Disable an MCJIT test on older Darwins until we have a better interface.

See
<rdar://16149106> [MCJIT] provide a platform-independent way to communicate callee-save frame info.
<rdar://16149279> [MCJIT] get the host OS version from a runtime check, not a configure-time check.

Modified:
    llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp?rev=202082&r1=202081&r2=202082&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp Mon Feb 24 15:37:30 2014
@@ -387,8 +387,12 @@ TEST_F(MCJITCAPITest, stackmap_creates_c
   // 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);
 }
 





More information about the llvm-commits mailing list