forked from OSchip/llvm-project
				
			[asan] Fix OOB_char on arm 32bit
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
This commit is contained in:
		
							parent
							
								
									c6c937f2a6
								
							
						
					
					
						commit
						72ca69e403
					
				| 
						 | 
					@ -13,7 +13,7 @@
 | 
				
			||||||
#include "asan_interface_internal.h"
 | 
					#include "asan_interface_internal.h"
 | 
				
			||||||
#include "asan_test_utils.h"
 | 
					#include "asan_test_utils.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
TEST(AddressSanitizerInterface, SetShadow) {
 | 
					TEST(AddressSanitizerInternalInterface, SetShadow) {
 | 
				
			||||||
  std::vector<char> buffer(17, 0xff);
 | 
					  std::vector<char> buffer(17, 0xff);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  __asan_set_shadow_00((uptr)buffer.data(), buffer.size());
 | 
					  __asan_set_shadow_00((uptr)buffer.data(), buffer.size());
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue