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

Side by Side Diff: third_party/tcmalloc/include/config.h

Issue 2316813002: Use tcmalloc on Linux (Closed)
Patch Set: Don't use tcmalloc in an ASAN build Created 4 years, 3 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
OLDNEW
(Empty)
1 /* src/config.h. Generated from config.h.in by configure. */
2 /* src/config.h.in. Generated from configure.ac by autoheader. */
3
4
5 #ifndef GPERFTOOLS_CONFIG_H_
6 #define GPERFTOOLS_CONFIG_H_
7
8
9 /* Build runtime detection for sized delete */
10 /* #undef ENABLE_DYNAMIC_SIZED_DELETE */
11
12 /* Build sized deletion operators */
13 #define ENABLE_SIZED_DELETE 1
14
15 /* Define to 1 if compiler supports __builtin_expect */
16 #define HAVE_BUILTIN_EXPECT 1
17
18 /* Define to 1 if compiler supports __builtin_stack_pointer */
19 /* #undef HAVE_BUILTIN_STACK_POINTER */
20
21 /* Define to 1 if you have the <conflict-signal.h> header file. */
22 /* #undef HAVE_CONFLICT_SIGNAL_H */
23
24 /* Define to 1 if you have the <cygwin/signal.h> header file. */
25 /* #undef HAVE_CYGWIN_SIGNAL_H */
26
27 /* Define to 1 if you have the declaration of `backtrace', and to 0 if you
28 don't. */
29 /* #undef HAVE_DECL_BACKTRACE */
30
31 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
32 */
33 #define HAVE_DECL_CFREE 1
34
35 /* Define to 1 if you have the declaration of `memalign', and to 0 if you
36 don't. */
37 #define HAVE_DECL_MEMALIGN 1
38
39 /* Define to 1 if you have the declaration of `nanosleep', and to 0 if you
40 don't. */
41 /* #undef HAVE_DECL_NANOSLEEP */
42
43 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if
44 you don't. */
45 #define HAVE_DECL_POSIX_MEMALIGN 1
46
47 /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you
48 don't. */
49 #define HAVE_DECL_PVALLOC 1
50
51 /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't.
52 */
53 /* #undef HAVE_DECL_SLEEP */
54
55 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
56 */
57 #define HAVE_DECL_UNAME 1
58
59 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
60 */
61 #define HAVE_DECL_VALLOC 1
62
63 /* Define to 1 if you have the <dlfcn.h> header file. */
64 #define HAVE_DLFCN_H 1
65
66 /* Define to 1 if the system has the type `Elf32_Versym'. */
67 #define HAVE_ELF32_VERSYM 1
68
69 /* Define to 1 if you have the <execinfo.h> header file. */
70 #define HAVE_EXECINFO_H 1
71
72 /* Define to 1 if you have the <fcntl.h> header file. */
73 #define HAVE_FCNTL_H 1
74
75 /* Define to 1 if you have the <features.h> header file. */
76 #define HAVE_FEATURES_H 1
77
78 /* Define to 1 if you have the `fork' function. */
79 #define HAVE_FORK 1
80
81 /* Define to 1 if you have the `geteuid' function. */
82 #define HAVE_GETEUID 1
83
84 /* Define to 1 if you have the `getpagesize' function. */
85 #define HAVE_GETPAGESIZE 1
86
87 /* Define to 1 if you have the <glob.h> header file. */
88 #define HAVE_GLOB_H 1
89
90 /* Define to 1 if you have the <grp.h> header file. */
91 #define HAVE_GRP_H 1
92
93 /* Define to 1 if you have the <inttypes.h> header file. */
94 #define HAVE_INTTYPES_H 1
95
96 /* Define to 1 if you have the <libunwind.h> header file. */
97 /* #undef HAVE_LIBUNWIND_H */
98
99 /* Define to 1 if you have the <linux/ptrace.h> header file. */
100 #define HAVE_LINUX_PTRACE_H 1
101
102 /* Define if this is Linux that has SIGEV_THREAD_ID */
103 #define HAVE_LINUX_SIGEV_THREAD_ID 1
104
105 /* Define to 1 if you have the <malloc.h> header file. */
106 #define HAVE_MALLOC_H 1
107
108 /* Define to 1 if you have the <memory.h> header file. */
109 #define HAVE_MEMORY_H 1
110
111 /* Define to 1 if you have a working `mmap' system call. */
112 #define HAVE_MMAP 1
113
114 /* define if the compiler implements namespaces */
115 #define HAVE_NAMESPACES 1
116
117 /* Define to 1 if you have the <poll.h> header file. */
118 #define HAVE_POLL_H 1
119
120 /* define if libc has program_invocation_name */
121 #define HAVE_PROGRAM_INVOCATION_NAME 1
122
123 /* Define if you have POSIX threads libraries and header files. */
124 #define HAVE_PTHREAD 1
125
126 /* defined to 1 if pthread symbols are exposed even without include pthread.h
127 */
128 /* #undef HAVE_PTHREAD_DESPITE_ASKING_FOR */
129
130 /* Define to 1 if you have the <pwd.h> header file. */
131 #define HAVE_PWD_H 1
132
133 /* Define to 1 if you have the `sbrk' function. */
134 #define HAVE_SBRK 1
135
136 /* Define to 1 if you have the <sched.h> header file. */
137 #define HAVE_SCHED_H 1
138
139 /* Define to 1 if you have the <stdint.h> header file. */
140 #define HAVE_STDINT_H 1
141
142 /* Define to 1 if you have the <stdlib.h> header file. */
143 #define HAVE_STDLIB_H 1
144
145 /* Define to 1 if you have the <strings.h> header file. */
146 #define HAVE_STRINGS_H 1
147
148 /* Define to 1 if you have the <string.h> header file. */
149 #define HAVE_STRING_H 1
150
151 /* Define to 1 if the system has the type `struct mallinfo'. */
152 #define HAVE_STRUCT_MALLINFO 1
153
154 /* Define to 1 if you have the <sys/cdefs.h> header file. */
155 #define HAVE_SYS_CDEFS_H 1
156
157 /* Define to 1 if you have the <sys/param.h> header file. */
158 #define HAVE_SYS_PARAM_H 1
159
160 /* Define to 1 if you have the <sys/prctl.h> header file. */
161 #define HAVE_SYS_PRCTL_H 1
162
163 /* Define to 1 if you have the <sys/resource.h> header file. */
164 #define HAVE_SYS_RESOURCE_H 1
165
166 /* Define to 1 if you have the <sys/socket.h> header file. */
167 #define HAVE_SYS_SOCKET_H 1
168
169 /* Define to 1 if you have the <sys/stat.h> header file. */
170 #define HAVE_SYS_STAT_H 1
171
172 /* Define to 1 if you have the <sys/syscall.h> header file. */
173 #define HAVE_SYS_SYSCALL_H 1
174
175 /* Define to 1 if you have the <sys/types.h> header file. */
176 #define HAVE_SYS_TYPES_H 1
177
178 /* Define to 1 if you have the <sys/ucontext.h> header file. */
179 #undef HAVE_SYS_UCONTEXT_H
180
181 /* Define to 1 if you have the <sys/wait.h> header file. */
182 #define HAVE_SYS_WAIT_H 1
183
184 /* Define to 1 if compiler supports __thread */
185 #define HAVE_TLS 1
186
187 /* Define to 1 if you have the <ucontext.h> header file. */
188 #define HAVE_UCONTEXT_H 1
189
190 /* Define to 1 if you have the <unistd.h> header file. */
191 #define HAVE_UNISTD_H 1
192
193 /* Whether <unwind.h> contains _Unwind_Backtrace */
194 #define HAVE_UNWIND_BACKTRACE 1
195
196 /* Define to 1 if you have the <unwind.h> header file. */
197 #define HAVE_UNWIND_H 1
198
199 /* Define to 1 if you have the <valgrind.h> header file. */
200 /* #undef HAVE_VALGRIND_H */
201
202 /* define if your compiler has __attribute__ */
203 #define HAVE___ATTRIBUTE__ 1
204
205 /* Define to 1 if compiler supports __environ */
206 #define HAVE___ENVIRON 1
207
208 /* Define to 1 if the system has the type `__int64'. */
209 /* #undef HAVE___INT64 */
210
211 /* prefix where we look for installed files */
212 #define INSTALL_PREFIX "/usr/local"
213
214 /* Define to 1 if int32_t is equivalent to intptr_t */
215 /* #undef INT32_EQUALS_INTPTR */
216
217 /* Define to the sub-directory in which libtool stores uninstalled libraries.
218 */
219 #define LT_OBJDIR ".libs/"
220
221 /* Define to 'volatile' if __malloc_hook is declared volatile */
222 #define MALLOC_HOOK_MAYBE_VOLATILE volatile
223
224 /* Name of package */
225 #define PACKAGE "gperftools"
226
227 /* Define to the address where bug reports for this package should be sent. */
228 #define PACKAGE_BUGREPORT "gperftools@googlegroups.com"
229
230 /* Define to the full name of this package. */
231 #define PACKAGE_NAME "gperftools"
232
233 /* Define to the full name and version of this package. */
234 #define PACKAGE_STRING "gperftools 2.5"
235
236 /* Define to the one symbol short name of this package. */
237 #define PACKAGE_TARNAME "gperftools"
238
239 /* Define to the home page for this package. */
240 #define PACKAGE_URL ""
241
242 /* Define to the version of this package. */
243 #define PACKAGE_VERSION "2.5"
244
245 /* How to access the PC from a struct ucontext */
246 /* #undef PC_FROM_UCONTEXT */
247
248 /* Always the empty-string on non-windows systems. On windows, should be
249 "__declspec(dllexport)". This way, when we compile the dll, we export our
250 functions/classes. It's safe to define this here because config.h is only
251 used internally, to compile the DLL, and every DLL source file #includes
252 "config.h" before anything else. */
253 #define PERFTOOLS_DLL_DECL /**/
254
255 /* printf format code for printing a size_t and ssize_t */
256 #define PRIdS "ld"
257
258 /* printf format code for printing a size_t and ssize_t */
259 #define PRIuS "lu"
260
261 /* printf format code for printing a size_t and ssize_t */
262 #define PRIxS "lx"
263
264 /* Mark the systems where we know it's bad if pthreads runs too
265 early before main (before threads are initialized, presumably). */
266 #ifdef __FreeBSD__
267 #define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1
268 #endif
269
270 /* Define to necessary symbol if this constant uses a non-standard name on
271 your system. */
272 /* #undef PTHREAD_CREATE_JOINABLE */
273
274 /* Define to 1 if you have the ANSI C header files. */
275 #define STDC_HEADERS 1
276
277 /* the namespace where STL code like vector<> is defined */
278 #define STL_NAMESPACE std
279
280 /* Define 32K of internal pages size for tcmalloc */
281 /* #undef TCMALLOC_32K_PAGES */
282
283 /* Define 64K of internal pages size for tcmalloc */
284 /* #undef TCMALLOC_64K_PAGES */
285
286 /* Define 8 bytes of allocation alignment for tcmalloc */
287 /* #undef TCMALLOC_ALIGN_8BYTES */
288
289 /* Version number of package */
290 #define VERSION "2.5"
291
292 /* C99 says: define this to get the PRI... macros from stdint.h */
293 #ifndef __STDC_FORMAT_MACROS
294 # define __STDC_FORMAT_MACROS 1
295 #endif
296
297 /* Define to `__inline__' or `__inline' if that's what the C compiler
298 calls it, or to nothing if 'inline' is not supported under any name. */
299 #ifndef __cplusplus
300 /* #undef inline */
301 #endif
302
303
304 #ifdef __MINGW32__
305 #include "windows/mingw.h"
306 #endif
307
308 #endif /* #ifndef GPERFTOOLS_CONFIG_H_ */
OLDNEW
« no previous file with comments | « third_party/tcmalloc/configure_command ('k') | third_party/tcmalloc/include/gperftools/tcmalloc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698