[asan] Fix OOB_char on arm 32bit
authorVitaly Buka <vitalybuka@google.com>
Tue, 23 Aug 2016 02:58:12 +0000 (02:58 +0000)
committerVitaly Buka <vitalybuka@google.com>
Tue, 23 Aug 2016 02:58:12 +0000 (02:58 +0000)
Summary:
This does not actually fixes the test.
AddressSanitizer::OOB_char behavior is inconsistent but it somehow usually
works. On arm it runs more iterations than expected. And adding a new test with AddressSanitizerInterface prefix, even empty, somehow breaks OOB_char test.
So I will rename my test to make the bot green and will continue to investigate the test.

Reviewers: krasin

Subscribers: aemerson, rengolin, kubabrecka, llvm-commits, samparker

Differential Revision: https://reviews.llvm.org/D23790

llvm-svn: 279501

compiler-rt/lib/asan/tests/asan_internal_interface_test.cc

index af6ae48..ae47594 100644 (file)
@@ -13,7 +13,7 @@
 #include "asan_interface_internal.h"
 #include "asan_test_utils.h"
 
-TEST(AddressSanitizerInterface, SetShadow) {
+TEST(AddressSanitizerInternalInterface, SetShadow) {
   std::vector<char> buffer(17, 0xff);
 
   __asan_set_shadow_00((uptr)buffer.data(), buffer.size());