HomePhabricator

Merging r360861:

Authored by tstellar on Jun 24 2019, 11:40 AM.

Description

Merging r360861:


r360861 | mstorsjo | 2019-05-15 23:49:13 -0700 (Wed, 15 May 2019) | 13 lines

[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: 364217

Details

Committed
tstellarJun 24 2019, 11:40 AM
Differential Revision
D59694: [PPC64][libunwind] Fix r2 not properly restored
Parents
rG4ebe62d309da: Merging r359094:
Branches
Unknown
Tags
Unknown