diff options
| author | Eric Fiselier <eric@efcs.ca> | 2019-04-24 04:21:05 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2019-04-24 04:21:05 +0000 |
| commit | 5a235865f7211563e69ba15d6d60aca9c3a20592 (patch) | |
| tree | e2189165c5e768f1956044b9d091a8800e52173c /libcxxabi/test/guard_test_basic.pass.cpp | |
| parent | b5f39845417560b7a54342dcb013af82f83567b2 (diff) | |
| download | bcm5719-llvm-5a235865f7211563e69ba15d6d60aca9c3a20592.tar.gz bcm5719-llvm-5a235865f7211563e69ba15d6d60aca9c3a20592.zip | |
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
Diffstat (limited to 'libcxxabi/test/guard_test_basic.pass.cpp')
| -rw-r--r-- | libcxxabi/test/guard_test_basic.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |

