Argyrios Kyrtzidis 
							
						 
					 
					
						
						
							
						
						ce6e7c7a59 
					 
					
						
						
							
							For CrashRecoveryContext::RunSafelyOnThread, propagate Darwin's PRIO_DARWIN_BG to the new thread if it is  
						
						... 
						
						
						
						set on the calling thread.
This allows libclang's indexing threads to propagate their priority to the clang module building threads.
rdar://17459872
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211747  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-06-25 23:54:50 +00:00 
						 
				 
			
				
					
						
							
							
								Richard Smith 
							
						 
					 
					
						
						
							
						
						36ecb2ee9d 
					 
					
						
						
							
							Re-commit r208025, reverted in r208030, with a fix for a conformance issue  
						
						... 
						
						
						
						which GCC detects and Clang does not!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208033  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 01:44:26 +00:00 
						 
				 
			
				
					
						
							
							
								Richard Smith 
							
						 
					 
					
						
						
							
						
						f3a199b2ae 
					 
					
						
						
							
							Revert r208025, which made buildbots unhappy for unknown reasons.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208030  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 01:26:00 +00:00 
						 
				 
			
				
					
						
							
							
								Richard Smith 
							
						 
					 
					
						
						
							
						
						245e8bdfba 
					 
					
						
						
							
							Add llvm::function_ref (and a couple of uses of it), representing a type-erased reference to a callable object.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208025  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 01:01:29 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						34bc6b6e78 
					 
					
						
						
							
							[C++11] Make use of 'nullptr' in the Support library.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205697  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-04-07 04:17:22 +00:00 
						 
				 
			
				
					
						
							
							
								Richard Smith 
							
						 
					 
					
						
						
							
						
						6e5887e7e6 
					 
					
						
						
							
							Remove dependence on std::function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202902  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-03-04 22:13:07 +00:00 
						 
				 
			
				
					
						
							
							
								Richard Smith 
							
						 
					 
					
						
						
							
						
						943d1fdffe 
					 
					
						
						
							
							Add support for arbitrary functors to CrashRecoveryContext.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202895  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-03-04 21:48:49 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						2169ad8c60 
					 
					
						
						
							
							Add explicit 'unregister' method to CrashRecoveryConextCleanupRegistrar.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130885  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-04 23:26:59 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						3311d951e2 
					 
					
						
						
							
							Properly initialize all fields in CrashReporterCleanupContext.  This caused the buildbot failure earlier.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128071  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-22 04:33:13 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						afc9e06021 
					 
					
						
						
							
							Rework CrashRecoveryContextCleanup to provide a simpler way to create cleanup objects, and provide a new cleanup for  
						
						... 
						
						
						
						decrementing reference counts of objects with intrusive reference counts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128055  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-22 01:15:10 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						b52fde4185 
					 
					
						
						
							
							Provide a means for CrashRecovery clients to determine if code is currently running while crash recovery cleanups are being processed.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128008  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-21 18:38:03 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						1a06d5721a 
					 
					
						
						
							
							Tweak CrashRecoveryContextCleanup to provide an easy method for clients to select between 'delete' and 'destructor' cleanups, and allow the destructor of CrashRecoveryContextCleanupRegister to be pseudo re-entrant.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127929  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-19 00:59:37 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						289bdccddf 
					 
					
						
						
							
							Tweak CrashRecoveryContextCleanup::createCleanup() to use the 'delete' cleanup as opposed to the 'destructor' cleanup (reclaims more memory).  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127865  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-18 03:46:21 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						0597234028 
					 
					
						
						
							
							Add new CrashRecoveryContextCleanup subclass: CrashRecoveryContextDeleteCleanup.  This deletes the object, not just calls its destructor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127855  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-18 03:04:18 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						a4f9839701 
					 
					
						
						
							
							Augment CrashRecoveryContext to have registered "cleanup" objects that can be used to release resources during a crash.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127849  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-18 02:05:11 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						f8254d6473 
					 
					
						
						
							
							CrashRecoveryContext: Add RunSafelyOnThread helper function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118272  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-05 07:19:09 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						a8fa798246 
					 
					
						
						
							
							CrashRecovery: Add CrashRecoveryContext::GetCurrent(), so clients can find the active context from anywhere.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111308  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-17 22:32:37 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c0c815e887 
					 
					
						
						
							
							CrashRecovery: Make CrashRecoveryContext static methods thread safe.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111307  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-17 22:32:34 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						a309dac868 
					 
					
						
						
							
							Support: Add CrashRecoveryContext helper object.  
						
						... 
						
						
						
						- Designed as a simple wrapper to allow clients to attempt to catch crashes
   (memory errors, assertion violations, etc.) and do some kind of recovery.
 - Currently doesn't actually attempt to catch crashes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109586  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-28 15:40:20 +00:00