From 5a235865f7211563e69ba15d6d60aca9c3a20592 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 24 Apr 2019 04:21:05 +0000 Subject: Cleanup new cxa guard implementation. * Add TSAN annotations around the futex syscalls. * Test that the futex syscall wrappers actually work. * Fix bad names. llvm-svn: 359069 --- libcxxabi/test/guard_test_basic.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxxabi/test/guard_test_basic.pass.cpp') diff --git a/libcxxabi/test/guard_test_basic.pass.cpp b/libcxxabi/test/guard_test_basic.pass.cpp index e04d694c845..a325dd0b732 100644 --- a/libcxxabi/test/guard_test_basic.pass.cpp +++ b/libcxxabi/test/guard_test_basic.pass.cpp @@ -129,7 +129,7 @@ int main() { #if defined(__APPLE__) || defined(__linux__) assert(PlatformThreadID); #endif - if (+PlatformThreadID) { + if (PlatformSupportsThreadID()) { assert(PlatformThreadID() != 0); assert(PlatformThreadID() == PlatformThreadID()); } -- cgit v1.2.3