diff options
author | Pavel Labath <pavel@labath.sk> | 2019-05-24 09:54:39 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-05-24 09:54:39 +0000 |
commit | 1a0312ca0b20d16edb859065bbace75f6701c92e (patch) | |
tree | fe9cd486333ced50714cac80b23b24ffbb90267f /lldb/source/Commands | |
parent | 7d4a67852da7ecce3ae43b61baa9f0cd068b05c6 (diff) | |
download | bcm5719-llvm-1a0312ca0b20d16edb859065bbace75f6701c92e.tar.gz bcm5719-llvm-1a0312ca0b20d16edb859065bbace75f6701c92e.zip |
[FuncUnwinders] Use "symbol file" unwind plans for unwinding
Summary:
Previous patch (r360409) introduced the "symbol file unwind plan"
concept, but that plan wasn't used for unwinding yet. With this patch,
we start to consider the new plan as a possible strategy for both
synchronous and asynchronous unwinding. I also add a test that asserts
that unwinding via breakpad STACK CFI info works end-to-end.
Reviewers: jasonmolenda, clayborg
Subscribers: lldb-commits, amccarth, markmentovai
Differential Revision: https://reviews.llvm.org/D61853
llvm-svn: 361618
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index c1f5ff0d283..764461ee92b 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -3521,7 +3521,7 @@ protected: non_callsite_unwind_plan->GetSourceName().AsCString()); } UnwindPlanSP callsite_unwind_plan = - func_unwinders_sp->GetUnwindPlanAtCallSite(*target); + func_unwinders_sp->GetUnwindPlanAtCallSite(*target, *thread); if (callsite_unwind_plan) { result.GetOutputStream().Printf( "Synchronous (restricted to call-sites) UnwindPlan is '%s'\n", |