[all-commits] [llvm/llvm-project] 03bb10: [lldb] Clear Frames when changing `disable-languag...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Thu Jul 31 18:02:30 PDT 2025
Branch: refs/heads/users/rampitec/07-31-_amdgpu_add_v_cvt_scale_pk8__gfx1250_instructions
Home: https://github.com/llvm/llvm-project
Commit: 03bb10bea6edeb6b1cbcb3fc6b590e585ae43ad6
https://github.com/llvm/llvm-project/commit/03bb10bea6edeb6b1cbcb3fc6b590e585ae43ad6
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/Target/Process.cpp
Log Message:
-----------
[lldb] Clear Frames when changing `disable-language-runtime-unwindplans` (#151208)
This patch uses the "setting changed" callback to clear previously
cached stack frames when
`target.process.disable-language-runtime-unwindplans` is changed. This
is necessary so that changing the setting followed by a `backtrace`
command produces an accurate backtrace.
With this, a user can create a custom command like below in order to
quickly inspect a backtrace created without language plugins.
```
debugger.HandleCommand("settings set target.process.disable-language-runtime-unwindplans true")
debugger.HandleCommand("bt " + command)
debugger.HandleCommand("settings set target.process.disable-language-runtime-unwindplans false")
```
In the future, we may consider implementing this as an option to
`backtrace`. Currently, this process setting is the only way of
affecting the unwinder, and changing the process setting as part of the
backtrace implementation doesn't feel right.
There are no upstream users of this flag, so we cannot write a test for
it here.
Commit: 14e4a02acd54925e92151777abba7007127a943d
https://github.com/llvm/llvm-project/commit/14e4a02acd54925e92151777abba7007127a943d
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/Target/Process.cpp
Log Message:
-----------
Merge branch 'main' into users/rampitec/07-31-_amdgpu_add_v_cvt_scale_pk8__gfx1250_instructions
Compare: https://github.com/llvm/llvm-project/compare/236f81eca451...14e4a02acd54
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