forked from mirrors/gecko-dev
		
	 f489d7af8e
			
		
	
	
		f489d7af8e
		
	
	
	
	
		
			
			--HG-- rename : build/build-clang/clang-6-linux64.json => build/build-clang/clang-6-pre-linux64.json rename : build/build-clang/clang-6-macosx64.json => build/build-clang/clang-6-pre-macosx64.json rename : taskcluster/scripts/misc/build-clang-6-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-6-pre-linux-macosx-cross.sh rename : taskcluster/scripts/misc/build-clang-6-linux.sh => taskcluster/scripts/misc/build-clang-6-pre-linux.sh
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			401 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			401 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/compiler-rt/lib/profile/GCDAProfiling.c b/compiler-rt/lib/profile/GCDAProfiling.c
 | |
| index f0c05075a..11b1c4557 100644
 | |
| --- a/compiler-rt/lib/profile/GCDAProfiling.c
 | |
| +++ b/compiler-rt/lib/profile/GCDAProfiling.c
 | |
| @@ -468,6 +468,7 @@ void llvm_gcda_end_file() {
 | |
|        unmap_file();
 | |
|      }
 | |
|  
 | |
| +    fflush(output_file);
 | |
|      flock(fd, LOCK_UN);
 | |
|      fclose(output_file);
 | |
|      output_file = NULL;
 |