[all-commits] [llvm/llvm-project] 266bb7: LanguageRuntime for 0th frame unwind, simplify get...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Wed Mar 3 19:30:00 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 266bb78f7d133a344992c5bfca61ef11ee152cb0
https://github.com/llvm/llvm-project/commit/266bb78f7d133a344992c5bfca61ef11ee152cb0
Author: Jason Molenda <jason at molenda.com>
Date: 2021-03-03 (Wed, 03 Mar 2021)
Changed paths:
M lldb/include/lldb/Target/LanguageRuntime.h
M lldb/include/lldb/Target/RegisterContext.h
M lldb/include/lldb/Target/RegisterContextUnwind.h
M lldb/include/lldb/Target/StackFrame.h
M lldb/source/Target/LanguageRuntime.cpp
M lldb/source/Target/RegisterContext.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/StackFrameList.cpp
M lldb/source/Target/UnwindLLDB.cpp
Log Message:
-----------
LanguageRuntime for 0th frame unwind, simplify getting pc-for-symbolication
Add calls into LanguageRuntime when finding the unwind method to
use out of the 0th (currently executing) stack frame.
Allow for the LanguageRuntimes to indicate if this stack frames
should be treated like a zeroth-frame -- symbolication should be
done based on the saved pc address, not decremented like normal ABI
function calls.
Add methods to RegisterContext and StackFrame to get a pc value
suitable for symbolication, to reduce the number of places in lldb
where we decrement the saved pc values before symbolication.
<rdar://problem/70398009>
Differential Revision: https://reviews.llvm.org/D97644
More information about the All-commits
mailing list