From: Eric Fiselier Date: Mon, 18 Jul 2016 02:29:33 +0000 (+0000) Subject: Prevent failures by marking Clock::is_steady tests as UNSUPPORTED: asan. X-Git-Tag: llvmorg-3.9.0-rc1~127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03f46fc2eda586c946f875195db87b942d139452;p=platform%2Fupstream%2Fllvm.git Prevent failures by marking Clock::is_steady tests as UNSUPPORTED: asan. llvm-svn: 275753 --- diff --git a/libcxx/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp b/libcxx/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp index 2e3acbc..b6b3aee 100644 --- a/libcxx/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp +++ b/libcxx/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp @@ -12,6 +12,10 @@ // XFAIL: with_system_cxx_lib=x86_64-apple-darwin11 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12 +// Due to C++17 inline variables ASAN flags this test as containing an ODR +// violation because Clock::is_steady is defined in both the dylib and this TU. +// UNSUPPORTED: asan + // // high_resolution_clock diff --git a/libcxx/test/std/utilities/time/time.clock/time.clock.steady/consistency.pass.cpp b/libcxx/test/std/utilities/time/time.clock/time.clock.steady/consistency.pass.cpp index 0e0b83b..6302ce6 100644 --- a/libcxx/test/std/utilities/time/time.clock/time.clock.steady/consistency.pass.cpp +++ b/libcxx/test/std/utilities/time/time.clock/time.clock.steady/consistency.pass.cpp @@ -13,6 +13,10 @@ // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12 // UNSUPPORTED: libcpp-has-no-monotonic-clock +// Due to C++17 inline variables ASAN flags this test as containing an ODR +// violation because Clock::is_steady is defined in both the dylib and this TU. +// UNSUPPORTED: asan + // // steady_clock diff --git a/libcxx/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp b/libcxx/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp index e277d4e..cfbe9bd 100644 --- a/libcxx/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp +++ b/libcxx/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp @@ -12,6 +12,10 @@ // XFAIL: with_system_cxx_lib=x86_64-apple-darwin11 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12 +// Due to C++17 inline variables ASAN flags this test as containing an ODR +// violation because Clock::is_steady is defined in both the dylib and this TU. +// UNSUPPORTED: asan + // // system_clock