forked from OSchip/llvm-project
				
			tsan: fix CPP_WEAK definition (it must be the other way around)
llvm-svn: 173932
This commit is contained in:
		
							parent
							
								
									28800da1b3
								
							
						
					
					
						commit
						087efd23d6
					
				| 
						 | 
					@ -28,13 +28,13 @@ namespace __tsan {
 | 
				
			||||||
const bool kGoMode = true;
 | 
					const bool kGoMode = true;
 | 
				
			||||||
const bool kCppMode = false;
 | 
					const bool kCppMode = false;
 | 
				
			||||||
const char *const kTsanOptionsEnv = "GORACE";
 | 
					const char *const kTsanOptionsEnv = "GORACE";
 | 
				
			||||||
#define CPP_WEAK WEAK
 | 
					// Go linker does not support weak symbols.
 | 
				
			||||||
 | 
					#define CPP_WEAK
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
const bool kGoMode = false;
 | 
					const bool kGoMode = false;
 | 
				
			||||||
const bool kCppMode = true;
 | 
					const bool kCppMode = true;
 | 
				
			||||||
const char *const kTsanOptionsEnv = "TSAN_OPTIONS";
 | 
					const char *const kTsanOptionsEnv = "TSAN_OPTIONS";
 | 
				
			||||||
// Go linker does not support weak symbols.
 | 
					#define CPP_WEAK WEAK
 | 
				
			||||||
#define CPP_WEAK
 | 
					 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const int kTidBits = 13;
 | 
					const int kTidBits = 13;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue