llvm-cov: When reading strings in gcov data, skip leading zeros
authorJustin Bogner <mail@justinbogner.com>
Thu, 27 Mar 2014 00:06:36 +0000 (00:06 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 27 Mar 2014 00:06:36 +0000 (00:06 +0000)
commit11d89f4c2744ea5cf19d7883069ed1fc8bfd0f37
treec229b7d368874ac2ad410b19b4f7668dc623636c
parentf20d9ee6a65e3c1eea9ea9c7619e984628fe020b
llvm-cov: When reading strings in gcov data, skip leading zeros

It seems that gcov, when faced with a string that is apparently zero
length, just keeps reading words until it finds a length it likes
better. I'm not really sure why this is, but it's simple enough to
make llvm-cov follow suit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204881 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h