Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ABSL_DEBUGGING_INTERNAL_STACKTRACE_CONFIG_H_
00022 #define ABSL_DEBUGGING_INTERNAL_STACKTRACE_CONFIG_H_
00023
00024 #if defined(ABSL_STACKTRACE_INL_HEADER)
00025 #error ABSL_STACKTRACE_INL_HEADER cannot be directly set
00026
00027 #elif defined(_WIN32)
00028 #define ABSL_STACKTRACE_INL_HEADER \
00029 "absl/debugging/internal/stacktrace_win32-inl.inc"
00030
00031 #elif defined(__linux__) && !defined(__ANDROID__)
00032
00033 #if !defined(NO_FRAME_POINTER)
00034 # if defined(__i386__) || defined(__x86_64__)
00035 #define ABSL_STACKTRACE_INL_HEADER \
00036 "absl/debugging/internal/stacktrace_x86-inl.inc"
00037 # elif defined(__ppc__) || defined(__PPC__)
00038 #define ABSL_STACKTRACE_INL_HEADER \
00039 "absl/debugging/internal/stacktrace_powerpc-inl.inc"
00040 # elif defined(__aarch64__)
00041 #define ABSL_STACKTRACE_INL_HEADER \
00042 "absl/debugging/internal/stacktrace_aarch64-inl.inc"
00043 # elif defined(__arm__)
00044
00045 #define ABSL_STACKTRACE_INL_HEADER \
00046 "absl/debugging/internal/stacktrace_generic-inl.inc"
00047 # else
00048 #define ABSL_STACKTRACE_INL_HEADER \
00049 "absl/debugging/internal/stacktrace_unimplemented-inl.inc"
00050 # endif
00051 #else // defined(NO_FRAME_POINTER)
00052 # if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__)
00053 #define ABSL_STACKTRACE_INL_HEADER \
00054 "absl/debugging/internal/stacktrace_generic-inl.inc"
00055 # elif defined(__ppc__) || defined(__PPC__)
00056 #define ABSL_STACKTRACE_INL_HEADER \
00057 "absl/debugging/internal/stacktrace_generic-inl.inc"
00058 # else
00059 #define ABSL_STACKTRACE_INL_HEADER \
00060 "absl/debugging/internal/stacktrace_unimplemented-inl.inc"
00061 # endif
00062 #endif // NO_FRAME_POINTER
00063
00064 #else
00065 #define ABSL_STACKTRACE_INL_HEADER \
00066 "absl/debugging/internal/stacktrace_unimplemented-inl.inc"
00067
00068 #endif
00069
00070 #endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_CONFIG_H_