]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Leave frame pointers in for the code in lib_replace_malloc.a as
authorTom Hughes <tom@compton.nu>
Tue, 26 Oct 2004 15:55:46 +0000 (15:55 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 26 Oct 2004 15:55:46 +0000 (15:55 +0000)
valgrind likes to be able to trace the stack out of malloc etc.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2854

coregrind/Makefile.am

index 3c21458318b79019be9c6d720bc35ab71ecc280a..7d5626715c3f2ab0953ac6068842947f80b1e4b1 100644 (file)
@@ -144,7 +144,7 @@ vg_inject_so_LDFLAGS = \
        -Wl,-z,initfirst
 
 lib_replace_malloc_a_SOURCES = vg_replace_malloc.c
-lib_replace_malloc_a_CFLAGS  = $(AM_CFLAGS) -fpic
+lib_replace_malloc_a_CFLAGS  = $(AM_CFLAGS) -fpic -fno-omit-frame-pointer
 
 MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) $(inplacedir)/libpthread.so.0