forked from OSchip/llvm-project
[libunwind][AIX] implementation of the unwinder for AIX
Summary: This is an add-on patch to address comments. - Replace #elif in file <assembly.h> with #else as suggested; - Reversed the indentation changes in the main patch. Differential Revision: https://reviews.llvm.org/D100132
This commit is contained in:
parent
4bf3b7dc92
commit
9c0152cda3
|
@ -209,7 +209,7 @@
|
|||
#if defined(__powerpc64__)
|
||||
#define VBYTE_LEN 8
|
||||
#define CSECT_ALIGN 3
|
||||
#elif defined(__ppc__)
|
||||
#else
|
||||
#define VBYTE_LEN 4
|
||||
#define CSECT_ALIGN 2
|
||||
#endif
|
||||
|
|
|
@ -60,13 +60,13 @@
|
|||
#define _LIBUNWIND_EXPORT
|
||||
#define _LIBUNWIND_HIDDEN
|
||||
#else
|
||||
#if !defined(__ELF__) && !defined(__MACH__) && !defined(_AIX)
|
||||
#define _LIBUNWIND_EXPORT __declspec(dllexport)
|
||||
#define _LIBUNWIND_HIDDEN
|
||||
#else
|
||||
#define _LIBUNWIND_EXPORT __attribute__((visibility("default")))
|
||||
#define _LIBUNWIND_HIDDEN __attribute__((visibility("hidden")))
|
||||
#endif
|
||||
#if !defined(__ELF__) && !defined(__MACH__) && !defined(_AIX)
|
||||
#define _LIBUNWIND_EXPORT __declspec(dllexport)
|
||||
#define _LIBUNWIND_HIDDEN
|
||||
#else
|
||||
#define _LIBUNWIND_EXPORT __attribute__((visibility("default")))
|
||||
#define _LIBUNWIND_HIDDEN __attribute__((visibility("hidden")))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define STR(a) #a
|
||||
|
|
Loading…
Reference in New Issue