forked from OSchip/llvm-project
[Sanitizer] Disable atomic_test on Android, where it crashes Clang.
llvm-svn: 177998
This commit is contained in:
parent
9d8043b4cc
commit
7ef76c1cd8
|
@ -15,6 +15,9 @@
|
|||
|
||||
namespace __sanitizer {
|
||||
|
||||
// Clang crashes while compiling this test for Android:
|
||||
// http://llvm.org/bugs/show_bug.cgi?id=15587
|
||||
#if !SANITIZER_ANDROID
|
||||
template<typename T>
|
||||
void CheckAtomicCompareExchange() {
|
||||
typedef typename T::Type Type;
|
||||
|
@ -47,5 +50,6 @@ TEST(SanitizerCommon, AtomicCompareExchangeTest) {
|
|||
CheckAtomicCompareExchange<atomic_uint64_t>();
|
||||
CheckAtomicCompareExchange<atomic_uintptr_t>();
|
||||
}
|
||||
#endif //!SANITIZER_ANDROID
|
||||
|
||||
} // namespace __sanitizer
|
||||
|
|
Loading…
Reference in New Issue