summaryrefslogtreecommitdiffstats
path: root/lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-05-24 09:54:39 +0000
committerPavel Labath <pavel@labath.sk>2019-05-24 09:54:39 +0000
commit1a0312ca0b20d16edb859065bbace75f6701c92e (patch)
treefe9cd486333ced50714cac80b23b24ffbb90267f /lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test
parent7d4a67852da7ecce3ae43b61baa9f0cd068b05c6 (diff)
downloadbcm5719-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/lit/SymbolFile/Breakpad/stack-cfi-parsing.test')
-rw-r--r--lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test b/lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test
index c8d9694172c..ffb64602c15 100644
--- a/lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test
+++ b/lldb/lit/SymbolFile/Breakpad/stack-cfi-parsing.test
@@ -4,6 +4,8 @@
image show-unwind -n func0
# CHECK-LABEL: image show-unwind -n func0
+# CHECK: Asynchronous (not restricted to call-sites) UnwindPlan is 'breakpad STACK CFI'
+# CHECK: Synchronous (restricted to call-sites) UnwindPlan is 'breakpad STACK CFI'
# CHECK: Symbol file UnwindPlan:
# CHECK-NEXT: This UnwindPlan originally sourced from breakpad STACK CFI
# CHECK-NEXT: This UnwindPlan is sourced from the compiler: yes.
@@ -42,6 +44,8 @@ image show-unwind -n func7
# Finally, try an unwind plan with just a single row
image show-unwind -n func9
# CHECK-LABEL: image show-unwind -n func9
+# CHECK: Asynchronous (not restricted to call-sites) UnwindPlan is 'breakpad STACK CFI'
+# CHECK: Synchronous (restricted to call-sites) UnwindPlan is 'breakpad STACK CFI'
# CHECK: Symbol file UnwindPlan:
# CHECK: Address range of this UnwindPlan: [stack-cfi-parsing.out..module_image + 9-0x000000000000000a)
# CHECK: row[0]: 0: CFA=DW_OP_breg6 +0 => rip=DW_OP_breg0 +0
OpenPOWER on IntegriCloud