We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda3c7d commit b8ebcb5Copy full SHA for b8ebcb5
lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
@@ -979,11 +979,12 @@ bool x86AssemblyInspectionEngine::AugmentUnwindPlanFromCallSite(
979
offset += insn_len;
980
m_cur_insn = data + offset;
981
982
- if (reinstate_unwind_state) {
983
- // that was the last instruction of this function
984
- if (offset >= size)
985
- continue;
+ // offset is pointing beyond the bounds of the
+ // function; stop looping.
+ if (offset >= size)
+ continue;
986
987
+ if (reinstate_unwind_state) {
988
UnwindPlan::RowSP new_row(new UnwindPlan::Row());
989
*new_row = *original_last_row;
990
new_row->SetOffset(offset);
0 commit comments