diff options
author | Martin Storsjo <martin@martin.st> | 2018-01-02 20:10:54 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-01-02 20:10:54 +0000 |
commit | 0aa55fdbba34928c0e05eb7d2fe3ebba7d95e85f (patch) | |
tree | fda2eae5f0bd3aa3a829fb20f2469706d414c308 /libunwind/src/assembly.h | |
parent | 2b377c99f715f0efab7173905054eab0c9fb02c0 (diff) | |
download | bcm5719-llvm-0aa55fdbba34928c0e05eb7d2fe3ebba7d95e85f.tar.gz bcm5719-llvm-0aa55fdbba34928c0e05eb7d2fe3ebba7d95e85f.zip |
[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
llvm-svn: 321667
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 %% |