diff options
Diffstat (limited to 'lldb/source/Target/UnwindLLDB.cpp')
| -rw-r--r-- | lldb/source/Target/UnwindLLDB.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/source/Target/UnwindLLDB.cpp b/lldb/source/Target/UnwindLLDB.cpp index f43e940492b0..4d3f23948b48 100644 --- a/lldb/source/Target/UnwindLLDB.cpp +++ b/lldb/source/Target/UnwindLLDB.cpp @@ -474,7 +474,8 @@ UnwindLLDB::GetRegisterContextForFrameNum(uint32_t frame_num) { } bool UnwindLLDB::SearchForSavedLocationForRegister( - uint32_t lldb_regnum, lldb_private::UnwindLLDB::RegisterLocation ®loc, + uint32_t lldb_regnum, + lldb_private::UnwindLLDB::ConcreteRegisterLocation ®loc, uint32_t starting_frame_num, bool pc_reg) { int64_t frame_num = starting_frame_num; if (static_cast<size_t>(frame_num) >= m_frames.size()) @@ -497,8 +498,8 @@ bool UnwindLLDB::SearchForSavedLocationForRegister( // We descended down to the live register context aka stack frame 0 and are // reading the value out of a live register. if (result == UnwindLLDB::RegisterSearchResult::eRegisterFound && - regloc.type == - UnwindLLDB::RegisterLocation::eRegisterInLiveRegisterContext) { + regloc.type == UnwindLLDB::ConcreteRegisterLocation:: + eRegisterInLiveRegisterContext) { return true; } @@ -509,7 +510,8 @@ bool UnwindLLDB::SearchForSavedLocationForRegister( // down the stack, or an actual value from a live RegisterContext at frame // 0. if (result == UnwindLLDB::RegisterSearchResult::eRegisterFound && - regloc.type == UnwindLLDB::RegisterLocation::eRegisterInRegister && + regloc.type == + UnwindLLDB::ConcreteRegisterLocation::eRegisterInRegister && frame_num > 0) { result = UnwindLLDB::RegisterSearchResult::eRegisterNotFound; lldb_regnum = regloc.location.register_number; |
