| 
							
							
								 Kostya Serebryany | 0307b9a885 | [asan] enable asan only for the functions that have Attribute::AddressSafety git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148846 91177308-0d34-0410-b5e6-96231b3b80d8 | 2012-01-24 19:34:43 +00:00 |  | 
			
				
					| 
							
							
								 Alexander Potapenko | 2587804203 | Implemented AddressSanitizer::getPassName() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148697 91177308-0d34-0410-b5e6-96231b3b80d8 | 2012-01-23 11:22:43 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | bcb55ce386 | [asan] extend the workaround for http://llvm.org/bugs/show_bug.cgi?id=11395: don't instrument the function at all on x86_32 if it has a large asm blob git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147953 91177308-0d34-0410-b5e6-96231b3b80d8 | 2012-01-11 18:15:23 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 3c7faae346 | [asan] cleanup: remove the SIGILL-related code (compiler part) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147667 91177308-0d34-0410-b5e6-96231b3b80d8 | 2012-01-06 18:09:21 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | a4b2b1d8fb | [asan] add the name of the module to the description of a global variable. This improves the readability of global-buffer-overflow reports. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146698 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-15 22:55:55 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 7bcfc9950b | [asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. compiler part. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146688 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-15 21:59:03 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | bd7910d158 | [asan] remove .preinit_array from the compiler module (it breaks .so builds). This should be done in the run-time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146527 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-14 00:01:51 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 085cb8f0b9 | [asan] report an error if blacklist file contains a malformed regex. fixes asan issue 17 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146503 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-13 19:34:53 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 9b02741d22 | [asan] use .preinit_array only on linux git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146379 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-12 18:01:46 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 25a8b809a0 | [asan] call __asan_init from .preinit_array. This simplifies __asan_init vs malloc chicken-and-egg situation on Android and probably on other flavours of Linux. Patch by eugenis@google.com. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146284 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-09 22:09:32 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | cc1d856d8e | [asan] two minor fixes: use UnreachableInst after the neverreturn function call; use report_fatal_error when blacklist file can not be found git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145611 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-12-01 18:54:53 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | d2703dec27 | [asan] do not instrument threadlocal globals, this is buggy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145092 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-11-23 02:10:54 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 5a3a9c9371 | [asan] workaround for reg alloc bug 11395: don't instrument functions with large chunks of inline assembler git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144962 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-11-18 01:41:06 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 2e7fb2f736 | quick fix: remove GlobalVariable::GlobalVariable mistakenly commited at r144933. For some reason this compiles on linux git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144936 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-11-17 23:37:53 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 7cf2a04361 | fall back to explicit list of allowed linkages when instrumenting globals in asan; add a test check that asan does not touch linkonce_odr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144933 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-11-17 23:14:59 +00:00 |  | 
			
				
					| 
							
							
								 Kostya Serebryany | 800e03f598 | AddressSanitizer, first commit (compiler module only) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144758 91177308-0d34-0410-b5e6-96231b3b80d8 | 2011-11-16 01:35:23 +00:00 |  |