HomePhabricator

[libunwind] Support for leaf function unwinding.

Authored by danielkiss on Sep 16 2020, 2:03 PM.

Description

[libunwind] Support for leaf function unwinding.

Unwinding leaf function is useful in cases when the backtrace finds a
leaf function for example when it caused a signal.
This patch also add the support for the DW_CFA_undefined because it marks
the end of the frames.

Ryan Prichard provided code for the tests.

Reviewed By: #libunwind, mstorsjo

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

Reland with limit the test to the x86_64-linux target.

Details

Committed
danielkissSep 18 2020, 6:09 AM
Reviewer
Restricted Project
Differential Revision
D83573: [libunwind] Support for leaf function unwinding.
Parents
rG2d35092cd258: [DWARFYAML] Make the include_directories, file_names and opcodes fields of theā€¦
Branches
Unknown
Tags
Unknown