<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 11, 2013 at 1:48 PM, Yuchen Wu <span dir="ltr"><<a href="mailto:yuchenericwu@hotmail.com" target="_blank">yuchenericwu@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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?<br>
</blockquote><div><br></div><div>Yes. In general all tool output must be completely deterministic (a timestamp is "nondeterministic" in the sense that it depends on the (nondeterministic) time that the tool was built).</div>
<div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="hm HOEnZb"><br>
----------------------------------------<br>
> Date: Sat, 9 Nov 2013 17:42:45 -0800<br>
> From: <a href="mailto:nicholas@mxc.ca">nicholas@mxc.ca</a><br>
> To: <a href="mailto:yuchenericwu@hotmail.com">yuchenericwu@hotmail.com</a><br>
> CC: <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> Subject: Re: [PATCH] llvm-cov: Updated file checksum to be timestamp.<br>
</div><div class="HOEnZb"><div class="h5">><br>
> Yuchen Wu wrote:<br>
>> llvm-cov: Updated file checksum to be timestamp.<br>
>><br>
>> Instead of permanently outputting "MVLL" as the file checksum, clang<br>
>> will stamp the gcno and gcda checksums with the time of compile.<br>
><br>
> Absolutely not. The compiler must generate identical outputs when it is<br>
> run twice. Please find another way to pick a checksum.<br>
><br>
> Nick<br>
><br>
> This<br>
>> allows for llvm-cov to check if the two gcov files are synchronized.<br>
>><br>
>> Regenerated the test files so they contain the timestamp. Also added<br>
>> negative test to ensure error when the checksums don't match.<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> llvm-commits mailing list<br>
>> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
><br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>