OLD | NEW |
1 /* src/config.h. Generated from config.h.in by configure. */ | 1 /* src/config.h. Generated from config.h.in by configure. */ |
2 /* src/config.h.in. Generated from configure.ac by autoheader. */ | 2 /* src/config.h.in. Generated from configure.ac by autoheader. */ |
3 | 3 |
4 /* Define to 1 if compiler supports __builtin_stack_pointer */ | 4 /* Define to 1 if compiler supports __builtin_stack_pointer */ |
5 /* #undef HAVE_BUILTIN_STACK_POINTER */ | 5 /* #undef HAVE_BUILTIN_STACK_POINTER */ |
6 | 6 |
7 /* Define to 1 if you have the <conflict-signal.h> header file. */ | 7 /* Define to 1 if you have the <conflict-signal.h> header file. */ |
8 /* #undef HAVE_CONFLICT_SIGNAL_H */ | 8 /* #undef HAVE_CONFLICT_SIGNAL_H */ |
9 | 9 |
10 /* Define to 1 if you have the <cygwin/signal.h> header file. */ | 10 /* Define to 1 if you have the <cygwin/signal.h> header file. */ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 /* Define to the one symbol short name of this package. */ | 206 /* Define to the one symbol short name of this package. */ |
207 #define PACKAGE_TARNAME "google-perftools" | 207 #define PACKAGE_TARNAME "google-perftools" |
208 | 208 |
209 /* Define to the home page for this package. */ | 209 /* Define to the home page for this package. */ |
210 #undef PACKAGE_URL | 210 #undef PACKAGE_URL |
211 | 211 |
212 /* Define to the version of this package. */ | 212 /* Define to the version of this package. */ |
213 #define PACKAGE_VERSION "1.7" | 213 #define PACKAGE_VERSION "1.7" |
214 | 214 |
215 /* How to access the PC from a struct ucontext */ | 215 /* How to access the PC from a struct ucontext */ |
| 216 /* TODO(asharif): configure.ac should be changed such that this define gets |
| 217 * generated automatically. That change should go to upstream and then pulled |
| 218 * back here. */ |
| 219 #if defined(__arm__) |
| 220 #define PC_FROM_UCONTEXT uc_mcontext.arm_pc |
| 221 #else |
216 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP] | 222 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP] |
| 223 #endif |
217 | 224 |
218 /* Always the empty-string on non-windows systems. On windows, should be | 225 /* Always the empty-string on non-windows systems. On windows, should be |
219 "__declspec(dllexport)". This way, when we compile the dll, we export our | 226 "__declspec(dllexport)". This way, when we compile the dll, we export our |
220 functions/classes. It's safe to define this here because config.h is only | 227 functions/classes. It's safe to define this here because config.h is only |
221 used internally, to compile the DLL, and every DLL source file #includes | 228 used internally, to compile the DLL, and every DLL source file #includes |
222 "config.h" before anything else. */ | 229 "config.h" before anything else. */ |
223 #define PERFTOOLS_DLL_DECL | 230 #define PERFTOOLS_DLL_DECL |
224 | 231 |
225 /* printf format code for printing a size_t and ssize_t */ | 232 /* printf format code for printing a size_t and ssize_t */ |
226 #define PRIdS "zd" | 233 #define PRIdS "zd" |
(...skipping 25 matching lines...) Expand all Loading... |
252 /* Define to `__inline__' or `__inline' if that's what the C compiler | 259 /* Define to `__inline__' or `__inline' if that's what the C compiler |
253 calls it, or to nothing if 'inline' is not supported under any name. */ | 260 calls it, or to nothing if 'inline' is not supported under any name. */ |
254 #ifndef __cplusplus | 261 #ifndef __cplusplus |
255 /* #undef inline */ | 262 /* #undef inline */ |
256 #endif | 263 #endif |
257 | 264 |
258 | 265 |
259 #ifdef __MINGW32__ | 266 #ifdef __MINGW32__ |
260 #include "windows/mingw.h" | 267 #include "windows/mingw.h" |
261 #endif | 268 #endif |
OLD | NEW |