1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/tools/llvm-cov
Justin Bogner 12ebcd3338 llvm-cov: Fix handling of line zero appearing in a line table
Reading line tables in llvm-cov was pretty broken, but would happen to
work as long as no line in the table was 0. It's not clear to me
whether a line of zero *should* show up in these tables, but deciding
to read a string in the middle of the line table is certainly the
wrong thing to do if it does.

I've also added some comments, as trying to figure out what this block
of code was doing was fairly unpleasant.

llvm-svn: 207866
2014-05-02 20:01:24 +00:00
..
Inputs llvm-cov: Fix handling of line zero appearing in a line table 2014-05-02 20:01:24 +00:00
copy_block_helper.m llvm-cov: Move XFAIL after the body of the test 2014-03-26 22:51:39 +00:00
lit.local.cfg llvm-cov: Fix handling of line zero appearing in a line table 2014-05-02 20:01:24 +00:00
llvm-cov.test llvm-cov: Add support for gcov's --long-file-names option 2014-04-23 21:44:55 +00:00
range_based_for.cpp llvm-cov: Fix handling of line zero appearing in a line table 2014-05-02 20:01:24 +00:00