aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-05-16 14:51:27 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-05-16 15:00:36 -0700
commit9defb3b4b4a3ab5a95c449471aaa930cf63a7106 (patch)
tree4985f94242ef15ec7602369f4de1c0f27effb377 /llvm/lib/CodeGen/MachineOperand.cpp
parent07d549bce94fc86fb1dc37aa0fb328e77208a185 (diff)
downloadllvm-9defb3b4b4a3ab5a95c449471aaa930cf63a7106.zip
llvm-9defb3b4b4a3ab5a95c449471aaa930cf63a7106.tar.gz
llvm-9defb3b4b4a3ab5a95c449471aaa930cf63a7106.tar.bz2
[lldb] Prevent underflow in crashlog.py
Avoid a OverflowError (an underflow really) when the pc is zero. This can happen for "unknown frames" where the crashlog generator reports a zero pc. We could omit them altogether, but if they're part of the crashlog it seems fair to display them in lldb as well. rdar://92686666 Differential revision: https://reviews.llvm.org/D125716
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions