aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
diff options
context:
space:
mode:
authorJames Henderson <james.henderson@sony.com>2020-02-10 14:17:46 +0000
committerJames Henderson <james.henderson@sony.com>2020-02-10 14:43:10 +0000
commitb1c7bfe6da2b5d171d025bf261f62773470cfc05 (patch)
treece167fb38c9f446a37cb651e7f87e9f7f19d0b23 /llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
parentcd37f0ad648b1bb9bb41d604abe80f2cd1bf6cfc (diff)
downloadllvm-b1c7bfe6da2b5d171d025bf261f62773470cfc05.zip
llvm-b1c7bfe6da2b5d171d025bf261f62773470cfc05.tar.gz
llvm-b1c7bfe6da2b5d171d025bf261f62773470cfc05.tar.bz2
[DebugInfo] Reject line tables of version > 5
If a debug line section with version of greater than 5 is encountered, prior to this change the parser would accept it and treat it as version 5. This might work to some extent, but then it might not at all, as it really depends on the format of the unspecified future version, which will be different (otherwise there would be no point in changing the version number). Any information we could provide has a good chance of being invalid, so we should just refuse to parse such tables. Reviewed by: dblaikie, MaskRay Differential Revision: https://reviews.llvm.org/D74204
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp')
0 files changed, 0 insertions, 0 deletions