HomePhabricator

[PPC64][libunwind] Fix r2 not properly restored

Authored by mstorsjo on May 15 2019, 11:49 PM.

Description

[PPC64][libunwind] Fix r2 not properly restored

This change makes each unwind step inspect the instruction at the
return address and, if needed, read r2 from its saved location and
modify the context appropriately.

The unwind logic is able to handle both ELFv1 and ELFv2 stacks.

Reported by Bug 41050

Patch by Leandro Lupori!

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

llvm-svn: 360861

Details

Committed
sidorovdMay 24 2019, 5:39 AM
Differential Revision
D59694: [PPC64][libunwind] Fix r2 not properly restored
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Commit No Longer Exists

This commit no longer exists in the repository.