[FuncUnwinders] Use "symbol file" unwind plans for unwinding
authorPavel Labath <pavel@labath.sk>
Fri, 24 May 2019 09:54:39 +0000 (09:54 +0000)
committerPavel Labath <pavel@labath.sk>
Fri, 24 May 2019 09:54:39 +0000 (09:54 +0000)
commit1a0312ca0b20d16edb859065bbace75f6701c92e
treefe9cd486333ced50714cac80b23b24ffbb90267f
parent7d4a67852da7ecce3ae43b61baa9f0cd068b05c6
[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
lldb/include/lldb/Symbol/FuncUnwinders.h
lldb/lit/SymbolFile/Breakpad/Inputs/unwind-via-stack-cfi.syms [new file with mode: 0644]
lldb/lit/SymbolFile/Breakpad/Inputs/unwind-via-stack-cfi.yaml [new file with mode: 0644]
lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test
lldb/lit/SymbolFile/Breakpad/unwind-via-stack-cfi.test [new file with mode: 0644]
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
lldb/source/Symbol/FuncUnwinders.cpp