forked from OSchip/llvm-project
				
			Remove failing check from platform specific darwin lsan initializer
Summary: We currently don't have any platform specific darwin lsan modules, don't force failure if they don't exist. Reviewers: kubamracek Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31473 llvm-svn: 299031
This commit is contained in:
		
							parent
							
								
									e13920f407
								
							
						
					
					
						commit
						1aa20001ed
					
				| 
						 | 
					@ -71,9 +71,9 @@ void SetCurrentThread(u32 tid) { get_tls_val(true)->current_thread_id = tid; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; }
 | 
					AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void InitializePlatformSpecificModules() {
 | 
					// Required on Linux for initialization of TLS behavior, but should not be
 | 
				
			||||||
  CHECK(0 && "unimplemented");
 | 
					// required on Darwin.
 | 
				
			||||||
}
 | 
					void InitializePlatformSpecificModules() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Scans global variables for heap pointers.
 | 
					// Scans global variables for heap pointers.
 | 
				
			||||||
void ProcessGlobalRegions(Frontier *frontier) {
 | 
					void ProcessGlobalRegions(Frontier *frontier) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue