|
From: <sv...@va...> - 2010-10-08 07:07:16
|
Author: bart
Date: 2010-10-08 07:58:25 +0100 (Fri, 08 Oct 2010)
New Revision: 11414
Log:
valgrind.h is again independent of config.h. Note: __builtin_frame_address()
is available since at least gcc 2.95.3.
Modified:
trunk/include/valgrind.h
Modified: trunk/include/valgrind.h
===================================================================
--- trunk/include/valgrind.h 2010-10-07 15:45:59 UTC (rev 11413)
+++ trunk/include/valgrind.h 2010-10-08 06:58:25 UTC (rev 11414)
@@ -1225,7 +1225,7 @@
it on Darwin (at least for the moment) since I can't figure out
how to do the .cfi directives there.
*/
-#if HAVE_BUILTIN_FRAME_ADDRESS && !defined(PLAT_amd64_darwin)
+#if defined(__GNUC__) && !defined(PLAT_amd64_darwin)
# define __FRAME_POINTER \
,"r"(__builtin_frame_address(0))
# define VALGRIND_CFI_PROLOGUE \
|