Skip to content

Commit 188df9b

Browse files
authored
Merge pull request #8976 from jasonmolenda/cp/r127518945-frameless-function-fault-backtrace-20230725
[lldb] Allow fetching of RA register when above fault handler (llvm#98566)
2 parents 0ad8ad0 + 20c4717 commit 188df9b

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
@@ -1401,7 +1401,7 @@ RegisterContextUnwind::SavedLocationForRegister(
14011401
// it's still live in the actual register. Handle this specially.
14021402

14031403
if (!have_unwindplan_regloc && return_address_reg.IsValid() &&
1404-
IsFrameZero()) {
1404+
BehavesLikeZerothFrame()) {
14051405
if (return_address_reg.GetAsKind(eRegisterKindLLDB) !=
14061406
LLDB_INVALID_REGNUM) {
14071407
lldb_private::UnwindLLDB::RegisterLocation new_regloc;

0 commit comments

Comments
 (0)