diff options
| author | Joseph Tremoulet <jotrem@microsoft.com> | 2019-08-02 16:53:42 +0000 |
|---|---|---|
| committer | Joseph Tremoulet <jotrem@microsoft.com> | 2019-08-02 16:53:42 +0000 |
| commit | 31e6dbe1c6a6e418bd65847610d5052cc59978b2 (patch) | |
| tree | 188b3a8c5806c778e7496d7b31c6a31ef5207c0b /llvm/test/Bitcode/function-default-address-spaces.ll | |
| parent | e93341f7c87e6816a8026d8bdd2a59e2f71f56a9 (diff) | |
| download | bcm5719-llvm-31e6dbe1c6a6e418bd65847610d5052cc59978b2.tar.gz bcm5719-llvm-31e6dbe1c6a6e418bd65847610d5052cc59978b2.zip | |
Fix PC adjustment in StackFrame::GetSymbolContext
Summary:
Update StackFrame::GetSymbolContext to mirror the logic in
RegisterContextLLDB::InitializeNonZerothFrame that knows not to do the
pc decrement when the given frame is a signal trap handler frame or the
parent of one, because the pc may not follow a call in these frames.
Accomplish this by adding a behaves_like_zeroth_frame field to
lldb_private::StackFrame, set to true for the zeroth frame, for
signal handler frames, and for parents of signal handler frames.
Also add logic to propagate the signal handler flag from UnwindPlan to
the FrameType on the RegisterContextLLDB it generates, and factor out a
helper to resolve symbol and address range for an Address now that we
need to invoke it in four places.
Reviewers: jasonmolenda, clayborg, jfb
Reviewed By: jasonmolenda
Subscribers: labath, dexonsmith, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D64993
llvm-svn: 367691
Diffstat (limited to 'llvm/test/Bitcode/function-default-address-spaces.ll')
0 files changed, 0 insertions, 0 deletions

