UnwindPlan: pretty-print dwarf expressions
authorPavel Labath <pavel@labath.sk>
Tue, 23 Apr 2019 09:16:51 +0000 (09:16 +0000)
committerPavel Labath <pavel@labath.sk>
Tue, 23 Apr 2019 09:16:51 +0000 (09:16 +0000)
commit7a784203535b2ec0712d85f898ab1a874530d084
tree5caccb976140b8ec0867e03512ed031bd183b48b
parent63a2aa715ad00e52ed1a7695f5a40d984fdaec24
UnwindPlan: pretty-print dwarf expressions

Summary:
Previously we were printing the dwarf expressions in unwind rules simply
as "dwarf-expr". This patch uses the existing dwarf-printing
capabilities in lldb to enhance this dump output, and print the full
decoded dwarf expression.

Reviewers: jasonmolenda, clayborg

Subscribers: aprantl, lldb-commits

Differential Revision: https://reviews.llvm.org/D60949

llvm-svn: 358959
lldb/lit/Unwind/Inputs/unwind-plan-dwarf-dump.s [new file with mode: 0644]
lldb/lit/Unwind/unwind-plan-dwarf-dump.test [new file with mode: 0644]
lldb/source/Symbol/UnwindPlan.cpp