Skip to content

Commit 8370b43

Browse files
authored
Merge pull request #9863 from jasonmolenda/r143238845-dont-reuse-frame0-lr-on-leafless-frame-that-trapped
Revert "[lldb] Allow fetching of RA register when above fault handler(llvm#98566)"
2 parents 5f7c906 + 17149b3 commit 8370b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/RegisterContextUnwind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ RegisterContextUnwind::SavedLocationForRegister(
14021402
// it's still live in the actual register. Handle this specially.
14031403

14041404
if (!have_unwindplan_regloc && return_address_reg.IsValid() &&
1405-
BehavesLikeZerothFrame()) {
1405+
IsFrameZero()) {
14061406
if (return_address_reg.GetAsKind(eRegisterKindLLDB) !=
14071407
LLDB_INVALID_REGNUM) {
14081408
lldb_private::UnwindLLDB::ConcreteRegisterLocation new_regloc;

0 commit comments

Comments
 (0)