[libcxx-commits] [libcxx] r356528 - [libc++] Flag file_clock test as expected to fail with ASAN

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 19 14:53:32 PDT 2019

Author: ldionne
Date: Tue Mar 19 14:53:32 2019
New Revision: 356528

URL: http://llvm.org/viewvc/llvm-project?rev=356528&view=rev
[libc++] Flag file_clock test as expected to fail with ASAN

This silences a known issue, as can be seen by looking at similar
tests for other clocks, like time.clock.steady/consistency.pass.cpp.


Modified: libcxx/trunk/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp?rev=356528&r1=356527&r2=356528&view=diff
--- libcxx/trunk/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp Tue Mar 19 14:53:32 2019
@@ -8,6 +8,10 @@
 // UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
+// 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.
 // <chrono>
 // file_clock

More information about the libcxx-commits mailing list