Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						8b390ffbfd 
					 
					
						
						
							
							[asan/tsan] initialize the asan/tsan callbacks in runOnFunction as opposed to doInitialization. This is required to allow the upcoming changes in PassManager behavior  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168864  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-29 09:54:21 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitry Vyukov 
							
						 
					 
					
						
						
							
						
						b10675ef14 
					 
					
						
						
							
							tsan: instrument atomic nand operation  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168684  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-27 08:09:25 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Beaumont-Gay 
							
						 
					 
					
						
						
							
						
						70af909f67 
					 
					
						
						
							
							Remove stray trailing backslash  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168592  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-26 16:27:22 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitry Vyukov 
							
						 
					 
					
						
						
							
						
						9a33f9f980 
					 
					
						
						
							
							tsan: fix lint warnings  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168590  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-26 14:55:26 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitry Vyukov 
							
						 
					 
					
						
						
							
						
						6702e53926 
					 
					
						
						
							
							[tsan] add fail order to compare_exchange  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168586  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-26 11:36:19 +00:00 
						 
				 
			
				
					
						
							
							
								Alexey Samsonov 
							
						 
					 
					
						
						
							
						
						659c052dfb 
					 
					
						
						
							
							[TSan] fix indentation  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167928  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-14 14:33:59 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitry Vyukov 
							
						 
					 
					
						
						
							
						
						c2e9ca15fb 
					 
					
						
						
							
							tsan: switch to new memory_order constants (ABI compatible)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167615  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-09 14:12:16 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitry Vyukov 
							
						 
					 
					
						
						
							
						
						9f8a90b3ce 
					 
					
						
						
							
							tsan: instrument all atomics (including fetch_add, exchange, cas, etc)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167612  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-09 12:55:36 +00:00 
						 
				 
			
				
					
						
							
							
								Micah Villmow 
							
						 
					 
					
						
						
							
						
						b8bce928f4 
					 
					
						
						
							
							Back out r166591, not sure why this made it through since I cancelled the command. Bleh, sorry about this!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166596  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-24 17:25:11 +00:00 
						 
				 
			
				
					
						
							
							
								Micah Villmow 
							
						 
					 
					
						
						
							
						
						2f87640b86 
					 
					
						
						
							
							Delete a directory that wasn't supposed to be checked in yet.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166591  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-24 17:20:04 +00:00 
						 
				 
			
				
					
						
							
							
								Micah Villmow 
							
						 
					 
					
						
						
							
						
						3574eca1b0 
					 
					
						
						
							
							Move TargetData to DataLayout.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165402  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-08 16:38:25 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						41d876cea3 
					 
					
						
						
							
							[tsan] add 3 internal flags for fine-grain control of what is instrumented and what is not.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165204  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-04 05:28:50 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitry Vyukov 
							
						 
					 
					
						
						
							
						
						9a8c112dae 
					 
					
						
						
							
							tsan: prepare for migration to new memory_order enum values (ABI compatible)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165107  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-03 13:00:57 +00:00 
						 
				 
			
				
					
						
							
							
								Alexey Samsonov 
							
						 
					 
					
						
						
							
						
						1dfe9b5264 
					 
					
						
						
							
							Whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162907  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-08-30 13:47:13 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						b5b86d263a 
					 
					
						
						
							
							[asan/tsan] rename FunctionBlackList* to BlackList* as this class is not limited to functions any more  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162566  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-08-24 16:44:47 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						4a002ab9c3 
					 
					
						
						
							
							[tsan] fix compile-time falilure found while building Chromium with tsan (tsan issue  #3 ). A unit test will follow separately.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159736  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-07-05 09:07:31 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						06cb8ed006 
					 
					
						
						
							
							Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h  
						
						... 
						
						
						
						This was always part of the VMCore library out of necessity -- it deals
entirely in the IR. The .cpp file in fact was already part of the VMCore
library. This is just a mechanical move.
I've tried to go through and re-apply the coding standard's preferred
header sort, but at 40-ish files, I may have gotten some wrong. Please
let me know if so.
I'll be committing the corresponding updates to Clang and Polly, and
Duncan has DragonEgg.
Thanks to Bill and Eric for giving the green light for this bit of cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159421  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-06-29 12:38:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						37cb9acac5 
					 
					
						
						
							
							[tsan] typo and style (thanks to Nick Lewycky)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155986  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-02 13:12:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						e507922779 
					 
					
						
						
							
							[tsan] Atomic support for ThreadSanitizer, patch by  Dmitry Vyukov  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155698  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-27 07:31:53 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						2d5fdf81dc 
					 
					
						
						
							
							[tsan] use llvm/ADT/Statistic.h for tsan stats  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155341  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-23 08:44:59 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						cff60c1409 
					 
					
						
						
							
							[tsan] two more compile-time optimizations:  
						
						... 
						
						
						
						- don't isntrument reads from constant globals.
Saves ~1.5% of instrumented instructions on CPU2006
(counting static instructions, not their execution).
- don't insrument reads from vtable (which is a global constant too).
Saves ~5%.
I did not measure the run-time impact of this,
but it is certainly non-negative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154444  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-10 22:29:17 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						2076af0184 
					 
					
						
						
							
							[tsan] compile-time instrumentation: do not instrument a read if  
						
						... 
						
						
						
						a write to the same temp follows in the same BB.
Also add stats printing.
On Spec CPU2006 this optimization saves roughly 4% of instrumented reads
(which is 3% of all instrumented accesses):
Writes            : 161216
Reads             : 446458
Reads-before-write: 18295
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154418  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-10 18:18:56 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						52eb699220 
					 
					
						
						
							
							[tsan] treat vtable pointer updates in a special way (requires tbaa); fix a bug (forgot to return true after instrumenting); make sure the tsan tests are run  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153448  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-03-26 17:35:03 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						6e590e3f61 
					 
					
						
						
							
							[tsan] use FunctionBlackList  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152755  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-03-14 23:33:24 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						3eccaa6625 
					 
					
						
						
							
							[tsan] fix compiler warnings  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150449  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-02-14 00:52:07 +00:00 
						 
				 
			
				
					
						
							
							
								Kostya Serebryany 
							
						 
					 
					
						
						
							
						
						60ebb1947f 
					 
					
						
						
							
							ThreadSanitizer, a race detector. First LLVM commit.  
						
						... 
						
						
						
						Clang patch (flags) will follow shortly.
The run-time library will also follow, but not immediately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150423  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-02-13 22:50:51 +00:00