aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJames Henderson <james.henderson@sony.com>2020-06-09 15:37:55 +0100
committerJames Henderson <james.henderson@sony.com>2020-06-15 11:50:12 +0100
commit1a7890475200f0fa6d048edee4ca17b069bc0777 (patch)
tree38afbe9d6567a884a931a512ce8da9456a230bae /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta8c186c216411a6236e23e3bd18d1e53aeca53d9 (diff)
downloadllvm-1a7890475200f0fa6d048edee4ca17b069bc0777.zip
llvm-1a7890475200f0fa6d048edee4ca17b069bc0777.tar.gz
llvm-1a7890475200f0fa6d048edee4ca17b069bc0777.tar.bz2
[DebugInfo] Report errors for truncated debug line standard opcode
Standard opcodes usually have ULEB128 arguments, so it is generally not possible to recover from such errors. This patch causes the parser to stop parsing the table in such situations. Also don't emit the operands or add data to the table if there is an error reading these opcodes. Reviewed by: JDevlieghere Differential Revision: https://reviews.llvm.org/D81470
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions