================
Comment at: test/test_exception_storage.cpp:59-62
@@ -58,3 +58,6 @@
size_t thread_globals;
- retVal = thread_code(&thread_globals) != 0;
+ // Check that __cxa_get_globals() is not NULL.
+ if (thread_code(&thread_globals) == 0) {
+ retVal = 1;
+ }
#else
----------------
`__cxa_get_globals()` never returns null even when `LIBCXXABI_HAS_NO_THREADS`
is defined. So I think the old expected result is wrong.
http://reviews.llvm.org/D6393
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits