diff options
author | James Henderson <james.henderson@sony.com> | 2020-02-25 15:08:07 +0000 |
---|---|---|
committer | James Henderson <james.henderson@sony.com> | 2020-03-09 12:59:43 +0000 |
commit | 6e0c9e46967e1dc701a8be66c5fd250c78d9a73e (patch) | |
tree | 721cedf016270d44d3e16ae5931f6b6793c72a5b /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | 8732192bbaf4457ae347912cb0af6dde46ef706a (diff) | |
download | llvm-6e0c9e46967e1dc701a8be66c5fd250c78d9a73e.zip llvm-6e0c9e46967e1dc701a8be66c5fd250c78d9a73e.tar.gz llvm-6e0c9e46967e1dc701a8be66c5fd250c78d9a73e.tar.bz2 |
[DebugInfo] Prevent crash when .debug_line line_range is zero
The line_range value of a debug line program header is used in divisions
related to special opcodes and DW_LNS_const_add_pc opcodes. As such, a
value of 0 cannot be used. This change introduces a new warning, if such
a situation is identified, and does not perform the relevant
calculations.
Reviewed by: probinson, aprantl
Differential Revision: https://reviews.llvm.org/D43470
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions