forked from OSchip/llvm-project
				
			Fix-up for r290119 - don't check global size, it might not be available when using atos
llvm-svn: 290123
This commit is contained in:
		
							parent
							
								
									2bb88ab5e0
								
							
						
					
					
						commit
						866310fcbc
					
				| 
						 | 
					@ -32,7 +32,7 @@ int main() {
 | 
				
			||||||
  type = __tsan_locate_address(&global_var, name, 128, &start, &size);
 | 
					  type = __tsan_locate_address(&global_var, name, 128, &start, &size);
 | 
				
			||||||
  fprintf(stderr, "type: %s, name = %s, start = %p, size = %zu\n", type, name,
 | 
					  fprintf(stderr, "type: %s, name = %s, start = %p, size = %zu\n", type, name,
 | 
				
			||||||
          start, size);
 | 
					          start, size);
 | 
				
			||||||
  // CHECK: type: global, name = global_var, start = [[GLOBAL_VAR]], size = 8
 | 
					  // CHECK: type: global, name = global_var, start = [[GLOBAL_VAR]], size = {{8|0}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  type = __tsan_locate_address(heap_var, name, 128, &start, &size);
 | 
					  type = __tsan_locate_address(heap_var, name, 128, &start, &size);
 | 
				
			||||||
  fprintf(stderr, "type: %s, start = %p, size = %zu\n", type, start, size);
 | 
					  fprintf(stderr, "type: %s, start = %p, size = %zu\n", type, start, size);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue