HomePhabricator

[PPC] Fix 32-bit build of libunwind

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

Description

[PPC] Fix 32-bit build of libunwind

Clang integrated assembler was unable to build libunwind PPC32 assembly code,
present in functions used to save/restore register context.

This change consists in replacing the assembly style used in libunwind source,
to one that is compatible with both Clang integrated assembler as well as
GNU assembler.

Patch by Leandro Lupori!

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

llvm-svn: 360862

Details

Committed
mstorsjoMay 15 2019, 11:49 PM
Differential Revision
D61792: [PPC] Fix 32-bit build of libunwind
Parents
rG44266b9e115a: [PPC64][libunwind] Fix r2 not properly restored
Branches
Unknown
Tags
Unknown