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

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

Issue 10970030: tcmalloc: fixed config_linux.h to build for arm targets. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added comment. Created 8 years, 2 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
« no previous file with comments | « no previous file | no next file » | 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698