diff options
Diffstat (limited to 'lldb/source/Symbol/DWARFCallFrameInfo.cpp')
| -rw-r--r-- | lldb/source/Symbol/DWARFCallFrameInfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Symbol/DWARFCallFrameInfo.cpp b/lldb/source/Symbol/DWARFCallFrameInfo.cpp index ff2610c9df27..a743de596b8d 100644 --- a/lldb/source/Symbol/DWARFCallFrameInfo.cpp +++ b/lldb/source/Symbol/DWARFCallFrameInfo.cpp @@ -633,7 +633,7 @@ bool DWARFCallFrameInfo::FDEToUnwindPlan(dw_offset_t dwarf_offset, std::vector<UnwindPlan::RowSP> stack; - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; while (m_cfi_data.ValidOffset(offset) && offset < end_offset) { uint8_t inst = m_cfi_data.GetU8(&offset); uint8_t primary_opcode = inst & 0xC0; @@ -822,7 +822,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, int32_t data_align, lldb::offset_t &offset, UnwindPlan::Row &row) { - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; if (primary_opcode) { switch (primary_opcode) { @@ -852,7 +852,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, // except for the encoding and size of the register argument. uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); int32_t op_offset = (int32_t)m_cfi_data.GetULEB128(&offset) * data_align; - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; reg_location.SetAtCFAPlusOffset(op_offset); row.SetRegisterInfo(reg_num, reg_location); return true; @@ -864,7 +864,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, // number. The required action is to set the rule for the specified // register to undefined. uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; reg_location.SetUndefined(); row.SetRegisterInfo(reg_num, reg_location); return true; @@ -876,7 +876,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, // number. The required action is to set the rule for the specified // register to same value. uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; reg_location.SetSame(); row.SetRegisterInfo(reg_num, reg_location); return true; @@ -889,7 +889,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, // second register. uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); uint32_t other_reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; reg_location.SetInRegister(other_reg_num); row.SetRegisterInfo(reg_num, reg_location); return true; @@ -950,7 +950,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, uint32_t block_len = (uint32_t)m_cfi_data.GetULEB128(&offset); const uint8_t *block_data = static_cast<const uint8_t *>(m_cfi_data.GetData(&offset, block_len)); - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; reg_location.SetAtDWARFExpression(block_data, block_len); row.SetRegisterInfo(reg_num, reg_location); return true; @@ -964,7 +964,7 @@ bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode, // signed and factored. uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); int32_t op_offset = (int32_t)m_cfi_data.GetSLEB128(&offset) * data_align; - UnwindPlan::Row::RegisterLocation reg_location; + UnwindPlan::Row::AbstractRegisterLocation reg_location; reg_location.SetAtCFAPlusOffset(op_offset); row.SetRegisterInfo(reg_num, reg_location); return true; |
