summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-05-02 20:01:24 +0000
committerJustin Bogner <mail@justinbogner.com>2014-05-02 20:01:24 +0000
commitc475e1bc7784be136b28b8791a69492b31c8fabe (patch)
tree350af4892bedbc6ba3dd75e9e871ac994bc4428b /llvm/lib/Transforms
parent6ef0a2f1be16382744e234b89ade1d34e6acbfe3 (diff)
downloadbcm5719-llvm-c475e1bc7784be136b28b8791a69492b31c8fabe.tar.gz
bcm5719-llvm-c475e1bc7784be136b28b8791a69492b31c8fabe.zip
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
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud