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

Yuchen Wu yuchenericwu at hotmail.com
Fri Nov 8 14:58:03 PST 2013


Forgot to update unit test. Also including patch for compiler-rt.

----------------------------------------
From: yuchenericwu at hotmail.com
To: llvm-commits at cs.uiuc.edu
Subject: [PATCH] llvm-cov: Updated file checksum to be timestamp.
Date: Wed, 6 Nov 2013 18:32:12 -0500


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. 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 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-llvm-cov-Updated-file-checksum-to-be-timestamp.patch
Type: application/octet-stream
Size: 9746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131108/132f801a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-compiler-rt-Support-for-timestamp-in-GCDAProfiling.c.patch
Type: application/octet-stream
Size: 1400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131108/132f801a/attachment-0001.obj>


More information about the llvm-commits mailing list