diff options
| author | Martin Storsjo <martin@martin.st> | 2018-01-02 22:11:30 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2018-01-02 22:11:30 +0000 |
| commit | 7c907061aa5d76fd74f5f7d97228a3f1268f20c9 (patch) | |
| tree | 624180f82707c605285b57ad53025ae6d51ed708 /libunwind/src/assembly.h | |
| parent | ecf9054544725c285fe3604ef79d0742dda5b077 (diff) | |
| download | bcm5719-llvm-7c907061aa5d76fd74f5f7d97228a3f1268f20c9.tar.gz bcm5719-llvm-7c907061aa5d76fd74f5f7d97228a3f1268f20c9.zip | |
Reland [PPC64] Port to ppc64le - initial version
Initial working version of libunwind for PowerPC 64. Tested on
little-endian ppc64 host only.
Based on the existing PowerPC 32 code.
It supports:
- context save/restore (unw_getcontext, unw_init_local, unw_resume)
- read/write from/to saved registers
- backtrace (unw_step)
Patch by Leandro Lupori!
Differential Revision: https://reviews.llvm.org/D41386
Now builds with LIBUNWIND_ENABLE_CROSS_UNWINDING=ON should
work.
llvm-svn: 321680
Diffstat (limited to 'libunwind/src/assembly.h')
| -rw-r--r-- | libunwind/src/assembly.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libunwind/src/assembly.h b/libunwind/src/assembly.h index 2b2269cc05f..ba099cbe809 100644 --- a/libunwind/src/assembly.h +++ b/libunwind/src/assembly.h @@ -16,7 +16,9 @@ #ifndef UNWIND_ASSEMBLY_H #define UNWIND_ASSEMBLY_H -#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__) +#if defined(__powerpc64__) +#define SEPARATOR ; +#elif defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__) #define SEPARATOR @ #elif defined(__arm64__) #define SEPARATOR %% |

