Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: third_party/tcmalloc/chromium/src/config_android.h

Issue 14321006: Adds TCMalloc support for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always use phtread_once Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/tcmalloc/chromium/src/config.h ('k') | third_party/tcmalloc/chromium/src/getpc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 /* Define to 1 if you have the <features.h> header file. */ 49 /* Define to 1 if you have the <features.h> header file. */
50 #define HAVE_FEATURES_H 1 50 #define HAVE_FEATURES_H 1
51 51
52 /* Define to 1 if you have the `geteuid' function. */ 52 /* Define to 1 if you have the `geteuid' function. */
53 #define HAVE_GETEUID 1 53 #define HAVE_GETEUID 1
54 54
55 /* Define to 1 if you have the `getpagesize' function. */ 55 /* Define to 1 if you have the `getpagesize' function. */
56 #define HAVE_GETPAGESIZE 1 56 #define HAVE_GETPAGESIZE 1
57 57
58 /* Define to 1 if you have the <glob.h> header file. */ 58 /* Define to 1 if you have the <glob.h> header file. */
59 #define HAVE_GLOB_H 1 59 #undef HAVE_GLOB_H
60 60
61 /* Define to 1 if you have the <grp.h> header file. */ 61 /* Define to 1 if you have the <grp.h> header file. */
62 #define HAVE_GRP_H 1 62 #define HAVE_GRP_H 1
63 63
64 /* Define to 1 if you have the <inttypes.h> header file. */ 64 /* Define to 1 if you have the <inttypes.h> header file. */
65 #define HAVE_INTTYPES_H 1 65 #define HAVE_INTTYPES_H 1
66 66
67 /* Define to 1 if you have the <libunwind.h> header file. */ 67 /* Define to 1 if you have the <libunwind.h> header file. */
68 /* #undef HAVE_LIBUNWIND_H */ 68 /* #undef HAVE_LIBUNWIND_H */
69 69
(...skipping 12 matching lines...) Expand all
82 /* Define to 1 if you have a working `mmap' system call. */ 82 /* Define to 1 if you have a working `mmap' system call. */
83 #define HAVE_MMAP 1 83 #define HAVE_MMAP 1
84 84
85 /* define if the compiler implements namespaces */ 85 /* define if the compiler implements namespaces */
86 #define HAVE_NAMESPACES 1 86 #define HAVE_NAMESPACES 1
87 87
88 /* Define to 1 if you have the <poll.h> header file. */ 88 /* Define to 1 if you have the <poll.h> header file. */
89 #define HAVE_POLL_H 1 89 #define HAVE_POLL_H 1
90 90
91 /* define if libc has program_invocation_name */ 91 /* define if libc has program_invocation_name */
92 #define HAVE_PROGRAM_INVOCATION_NAME 1 92 #undef HAVE_PROGRAM_INVOCATION_NAME
93 93
94 /* Define if you have POSIX threads libraries and header files. */ 94 /* Define if you have POSIX threads libraries and header files. */
95 #define HAVE_PTHREAD 1 95 #define HAVE_PTHREAD 1
96 96
97 /* Define to 1 if you have the <pwd.h> header file. */ 97 /* Define to 1 if you have the <pwd.h> header file. */
98 #define HAVE_PWD_H 1 98 #define HAVE_PWD_H 1
99 99
100 /* Define to 1 if you have the `sbrk' function. */ 100 /* Define to 1 if you have the `sbrk' function. */
101 #define HAVE_SBRK 1 101 #define HAVE_SBRK 1
102 102
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 /* Define to 1 if you have the <sys/types.h> header file. */ 148 /* Define to 1 if you have the <sys/types.h> header file. */
149 #define HAVE_SYS_TYPES_H 1 149 #define HAVE_SYS_TYPES_H 1
150 150
151 /* <sys/ucontext.h> is broken on redhat 7 */ 151 /* <sys/ucontext.h> is broken on redhat 7 */
152 #undef HAVE_SYS_UCONTEXT_H 152 #undef HAVE_SYS_UCONTEXT_H
153 153
154 /* Define to 1 if you have the <sys/wait.h> header file. */ 154 /* Define to 1 if you have the <sys/wait.h> header file. */
155 #define HAVE_SYS_WAIT_H 1 155 #define HAVE_SYS_WAIT_H 1
156 156
157 /* Define to 1 if compiler supports __thread */ 157 /* Define to 1 if compiler supports __thread */
158 #define HAVE_TLS 1 158 #undef HAVE_TLS
159 159
160 /* <sys/ucontext.h> is broken on redhat 7 */ 160 /* <sys/ucontext.h> is broken on redhat 7 */
161 #define HAVE_UCONTEXT_H 1 161 #undef HAVE_UCONTEXT_H
162 162
163 /* Define to 1 if you have the <unistd.h> header file. */ 163 /* Define to 1 if you have the <unistd.h> header file. */
164 #define HAVE_UNISTD_H 1 164 #define HAVE_UNISTD_H 1
165 165
166 /* Define to 1 if you have the <unwind.h> header file. */ 166 /* Define to 1 if you have the <unwind.h> header file. */
167 #define HAVE_UNWIND_H 1 167 #define HAVE_UNWIND_H 1
168 168
169 /* Define to 1 if you have the <valgrind.h> header file. */ 169 /* Define to 1 if you have the <valgrind.h> header file. */
170 #undef HAVE_VALGRIND_H 170 #undef HAVE_VALGRIND_H
171 171
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 #define PC_FROM_UCONTEXT uc_mcontext.arm_pc 220 #define PC_FROM_UCONTEXT uc_mcontext.arm_pc
221 #else 221 #else
222 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP] 222 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
223 #endif 223 #endif
224 224
225 /* 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
226 "__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
227 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
228 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
229 "config.h" before anything else. */ 229 "config.h" before anything else. */
230 #define PERFTOOLS_DLL_DECL 230 #define PERFTOOLS_DLL_DECL
231 231
232 /* printf format code for printing a size_t and ssize_t */ 232 /* printf format code for printing a size_t and ssize_t */
233 #define PRIdS "zd" 233 #define PRIdS "zd"
234 234
235 /* printf format code for printing a size_t and ssize_t */ 235 /* printf format code for printing a size_t and ssize_t */
236 #define PRIuS "zu" 236 #define PRIuS "zu"
237 237
238 /* printf format code for printing a size_t and ssize_t */ 238 /* printf format code for printing a size_t and ssize_t */
239 #define PRIxS "zx" 239 #define PRIxS "zx"
240 240
(...skipping 18 matching lines...) Expand all
259 /* 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
260 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. */
261 #ifndef __cplusplus 261 #ifndef __cplusplus
262 /* #undef inline */ 262 /* #undef inline */
263 #endif 263 #endif
264 264
265 265
266 #ifdef __MINGW32__ 266 #ifdef __MINGW32__
267 #include "windows/mingw.h" 267 #include "windows/mingw.h"
268 #endif 268 #endif
269
270 /* Android's NDK doesn't have std::set_new_handler */
271 #define PREANSINEW 1
OLDNEW
« no previous file with comments | « third_party/tcmalloc/chromium/src/config.h ('k') | third_party/tcmalloc/chromium/src/getpc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698