diff options
author | Andrew Trick <atrick@apple.com> | 2014-02-24 21:37:30 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2014-02-24 21:37:30 +0000 |
commit | 6a162d850bb21a0b93c8bfca789c0654a2169807 (patch) | |
tree | 7e5050d02bba3073160375cc6c22fe5463a54a2a /llvm/unittests/ExecutionEngine | |
parent | 7aee1cfa99c67bc2540348757127a90ca2a1c7fa (diff) | |
download | bcm5719-llvm-6a162d850bb21a0b93c8bfca789c0654a2169807.tar.gz bcm5719-llvm-6a162d850bb21a0b93c8bfca789c0654a2169807.zip |
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.
llvm-svn: 202082
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r-- | llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp index f6deb2f9b21..02bb092990e 100644 --- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp +++ b/llvm/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); } |