<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 6, 2018, at 10:50, Hans Wennborg <<a href="mailto:hans@chromium.org" class="">hans@chromium.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Hi Louis,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">These tests now fail for us (they're xfailed and unexpectedly pass)</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">when building libc++ for Chromium.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">We're building with MACOSX_DEPLOYMENT_TARGET=10.7, with AppleClang</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">9.0.0.9000037. Should the xfail checks be updated to take this into</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">account?</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><div><br class=""></div><div>Thanks for the heads up and sorry about that. This should be fixed in r348507.</div><div><br class=""></div><div>These aligned allocation tests are incredibly tricky because they are unlike any other availability test we have. They depend on the compiler and standard library version used in subtle ways, and we don't have quite enough expressiveness in LIT to say what we want (that the tests should XFAIL for all apple-clang less than or equal to 10).</div><div><br class=""></div><div>Please LMK if you still see failures.</div><div><br class=""></div><div>Louis</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On Mon, Nov 26, 2018 at 8:32 PM Louis Dionne via libcxx-commits</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><</span><a href="mailto:libcxx-commits@lists.llvm.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">libcxx-commits@lists.llvm.org</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">> wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""><br class=""><br class=""><br class="">---------- Forwarded message ----------<br class="">From: Louis Dionne <<a href="mailto:ldionne@apple.com" class="">ldionne@apple.com</a>><br class="">To:<span class="Apple-converted-space"> </span><a href="mailto:libcxx-commits@lists.llvm.org" class="">libcxx-commits@lists.llvm.org</a><br class="">Cc:<br class="">Bcc:<br class="">Date: Mon, 26 Nov 2018 19:30:08 -0000<br class="">Subject: [libcxx] r347585 - [libcxx] Fix XFAILs for aligned allocation tests<br class="">Author: ldionne<br class="">Date: Mon Nov 26 11:30:08 2018<br class="">New Revision: 347585<br class=""><br class="">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=347585&view=rev" class="">http://llvm.org/viewvc/llvm-project?rev=347585&view=rev</a><br class="">Log:<br class="">[libcxx] Fix XFAILs for aligned allocation tests<br class=""><br class="">In r339743, I marked several aligned allocation tests as downright<br class="">unsupported on macosx in an attempt to unbreak the build. It turns<br class="">out that marking them as unuspported whenever we're on OS X is way<br class="">too coarse grained. This commit marks the tests as XFAIL with more<br class="">granularity.<br class=""><br class="">Modified:<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp<br class="">   libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -17,22 +17,25 @@<br class="">// None of the current GCC compilers support this.<br class="">// UNSUPPORTED: gcc-5, gcc-6<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Using aligned allocation functions is a compiler error when deploying to<br class="">-// platforms older than macosx10.13<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// On Windows libc++ doesn't provide its own definitions for new/delete<br class="">// but instead depends on the ones in VCRuntime. However VCRuntime does not<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -15,22 +15,25 @@<br class="">// FIXME change this to XFAIL.<br class="">// UNSUPPORTED: no-aligned-allocation && !gcc<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Using aligned allocation functions is a compiler error when deploying to<br class="">-// platforms older than macosx10.13<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// On Windows libc++ doesn't provide its own definitions for new/delete<br class="">// but instead depends on the ones in VCRuntime. However VCRuntime does not<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -15,22 +15,25 @@<br class="">// FIXME turn this into an XFAIL<br class="">// UNSUPPORTED: no-aligned-allocation && !gcc<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Using aligned allocation functions is a compiler error when deploying to<br class="">-// platforms older than macosx10.13<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// On Windows libc++ doesn't provide its own definitions for new/delete<br class="">// but instead depends on the ones in VCRuntime. However VCRuntime does not<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -10,24 +10,25 @@<br class="">// UNSUPPORTED: c++98, c++03, c++11, c++14<br class="">// UNSUPPORTED: sanitizer-new-delete<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so our<br class="">-// custom aligned allocation functions are not called and the test fails<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Our custom aligned allocation functions are not called when deploying to<br class="">-// platforms older than macosx10.13, since those platforms don't support<br class="">-// aligned allocation.<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// XFAIL: no-aligned-allocation && !gcc<br class=""><br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -16,22 +16,25 @@<br class="">// None of the current GCC compilers support this.<br class="">// UNSUPPORTED: gcc-5, gcc-6<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Using aligned allocation functions is a compiler error when deploying to<br class="">-// platforms older than macosx10.13<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// On Windows libc++ doesn't provide its own definitions for new/delete<br class="">// but instead depends on the ones in VCRuntime. However VCRuntime does not<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -9,22 +9,25 @@<br class=""><br class="">// UNSUPPORTED: c++98, c++03, c++11, c++14<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Using aligned allocation functions is a compiler error when deploying to<br class="">-// platforms older than macosx10.13<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// asan and msan will not call the new handler.<br class="">// UNSUPPORTED: sanitizer-new-delete<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -9,22 +9,25 @@<br class=""><br class="">// UNSUPPORTED: c++98, c++03, c++11, c++14<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Using aligned allocation functions is a compiler error when deploying to<br class="">-// platforms older than macosx10.13<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// asan and msan will not call the new handler.<br class="">// UNSUPPORTED: sanitizer-new-delete<br class=""><br class="">Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff" class="">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp?rev=347585&r1=347584&r2=347585&view=diff</a><br class="">==============================================================================<br class="">--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp (original)<br class="">+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp Mon Nov 26 11:30:08 2018<br class="">@@ -10,24 +10,25 @@<br class="">// UNSUPPORTED: c++98, c++03, c++11, c++14<br class="">// UNSUPPORTED: sanitizer-new-delete<br class=""><br class="">-// dylibs shipped before macosx10.13 do not provide aligned allocation, so our<br class="">-// custom aligned allocation functions are not called and the test fails<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.12<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.11<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.10<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.9<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.8<br class="">-// UNSUPPORTED: with_system_cxx_lib=macosx10.7<br class="">+// Aligned allocation was not provided before macosx10.12 and as a result we<br class="">+// get availability errors when the deployment target is older than macosx10.13.<br class="">+// However, AppleClang 10 (and older) don't trigger availability errors.<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.12<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.11<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.10<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.9<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.8<br class="">+// XFAIL: !apple-clang-10 && availability=macosx10.7<br class=""><br class="">-// Our custom aligned allocation functions are not called when deploying to<br class="">-// platforms older than macosx10.13, since those platforms don't support<br class="">-// aligned allocation.<br class="">-// UNSUPPORTED: macosx10.12<br class="">-// UNSUPPORTED: macosx10.11<br class="">-// UNSUPPORTED: macosx10.10<br class="">-// UNSUPPORTED: macosx10.9<br class="">-// UNSUPPORTED: macosx10.8<br class="">-// UNSUPPORTED: macosx10.7<br class="">+// On AppleClang 10 (and older), instead of getting an availability failure<br class="">+// like above, we get a link error when we link against a dylib that does<br class="">+// not export the aligned allocation functions.<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8<br class="">+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7<br class=""><br class="">// NOTE: gcc doesn't provide -faligned-allocation flag to test for<br class="">// XFAIL: no-aligned-allocation && !gcc<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">---------- Forwarded message ----------<br class="">From: Louis Dionne via libcxx-commits <<a href="mailto:libcxx-commits@lists.llvm.org" class="">libcxx-commits@lists.llvm.org</a>><br class="">To:<span class="Apple-converted-space"> </span><a href="mailto:libcxx-commits@lists.llvm.org" class="">libcxx-commits@lists.llvm.org</a><br class="">Cc:<br class="">Bcc:<br class="">Date: Mon, 26 Nov 2018 11:30:09 -0800 (PST)<br class="">Subject: [libcxx-commits] [libcxx] r347585 - [libcxx] Fix XFAILs for aligned allocation tests<br class="">_______________________________________________<br class="">libcxx-commits mailing list<br class=""><a href="mailto:libcxx-commits@lists.llvm.org" class="">libcxx-commits@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits</a></blockquote></div></blockquote></div><br class=""></body></html>