forked from OSchip/llvm-project
Fix typo in ArmUnwindInfo::GetUnwindPlan
Summary: As reported in LLVM bug 41486, the check `(byte1 & 0xf8) == 0xc0` is wrong. We want to check for `11010nnn`, so the proper value we want to compare against is `0xd0` (`0xc0` would check for the value `11000nnn` which we already checked for above as described in the bug report). Reviewers: #lldb, jasonmolenda Reviewed By: #lldb, jasonmolenda Subscribers: jasonmolenda, javed.absar, kristof.beyls, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D60655 llvm-svn: 358479
This commit is contained in:
parent
6ae05777b8
commit
bef588ce11
|
@ -304,7 +304,7 @@ bool ArmUnwindInfo::GetUnwindPlan(Target &target, const Address &addr,
|
|||
// 11001yyy
|
||||
// Spare (yyy != 000, 001)
|
||||
return false;
|
||||
} else if ((byte1 & 0xf8) == 0xc0) {
|
||||
} else if ((byte1 & 0xf8) == 0xd0) {
|
||||
// 11010nnn
|
||||
// Pop VFP double-precision registers D[8]-D[8+nnn] saved (as if) by
|
||||
// FSTMFDD (see remark d)
|
||||
|
|
Loading…
Reference in New Issue