[PATCH] llvm-cov: Updated file checksum to be timestamp.

Yuchen Wu yuchenericwu at hotmail.com
Mon Nov 11 10:48:08 PST 2013


The passes modified here are only used by llvm-cov, so they technically aren't part of the compiler. Is the timestamp still a problem in that case?

----------------------------------------
> Date: Sat, 9 Nov 2013 17:42:45 -0800
> From: nicholas at mxc.ca
> To: yuchenericwu at hotmail.com
> CC: llvm-commits at cs.uiuc.edu
> Subject: Re: [PATCH] llvm-cov: Updated file checksum to be timestamp.
>
> Yuchen Wu wrote:
>> llvm-cov: Updated file checksum to be timestamp.
>>
>> Instead of permanently outputting "MVLL" as the file checksum, clang
>> will stamp the gcno and gcda checksums with the time of compile.
>
> Absolutely not. The compiler must generate identical outputs when it is
> run twice. Please find another way to pick a checksum.
>
> Nick
>
> This
>> allows for llvm-cov to check if the two gcov files are synchronized.
>>
>> Regenerated the test files so they contain the timestamp. Also added
>> negative test to ensure error when the checksums don't match.
>>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 		 	   		  



More information about the llvm-commits mailing list