[all-commits] [llvm/llvm-project] 39572f: [lldb][Target] Clear selected frame index after a ...
Michael Buch via All-commits
all-commits at lists.llvm.org
Mon Sep 8 09:18:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 39572f5e9168b1b44c2f9078494616fed8752086
https://github.com/llvm/llvm-project/commit/39572f5e9168b1b44c2f9078494616fed8752086
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-09-08 (Mon, 08 Sep 2025)
Changed paths:
M lldb/include/lldb/Target/StackFrameList.h
M lldb/include/lldb/Target/Thread.h
M lldb/source/Target/Process.cpp
M lldb/source/Target/StackFrameList.cpp
Log Message:
-----------
[lldb][Target] Clear selected frame index after a StopInfo::PerformAction (#133078)
The motivation for this patch is that
`StopInfo::GetSuggestedStackFrameIndex` would not take effect for
`InstrumentationRuntimeStopInfo` (which we plan to implement in
https://github.com/llvm/llvm-project/pull/133079). This was happening
because the instrumentation runtime plugins would run utility
expressions as part of the stop that would set the
`m_selected_frame_idx`. This means `SelectMostRelevantFrame` was never
called, and we would not be able to report the selected frame via the
`StopInfo` object.
This patch makes sure we clear the `m_selected_frame_idx` to allow
`GetSuggestedStackFrameIndex` to take effect, regardless of what the
frame recognizers choose to do.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list