[Lldb-commits] [lldb] [lldb][NFC] Split RegisterContextUnwind::SavedLocationForRegister (PR #139817)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed May 14 03:01:32 PDT 2025
================
@@ -1243,303 +1243,285 @@ bool RegisterContextUnwind::IsTrapHandlerSymbol(
return false;
}
-// Answer the question: Where did THIS frame save the CALLER frame ("previous"
-// frame)'s register value?
-
-enum UnwindLLDB::RegisterSearchResult
-RegisterContextUnwind::SavedLocationForRegister(
- uint32_t lldb_regnum,
- lldb_private::UnwindLLDB::ConcreteRegisterLocation ®loc) {
+/// Search this stack frame's UnwindPlans for the AbstractRegisterLocation
----------------
labath wrote:
The docstring should go in the header. If there are details you think are only relevant for the implementation (not the interface), they can stay here.
https://github.com/llvm/llvm-project/pull/139817
More information about the lldb-commits
mailing list