From: Bart Van Assche Date: Sun, 17 Jun 2012 08:46:32 +0000 (+0000) Subject: drd: Make sure that frame unwind information is generated for DRD intercepts X-Git-Tag: svn/VALGRIND_3_8_0~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d201ff42b0914f8385245e7068f98bd2794d448;p=thirdparty%2Fvalgrind.git drd: Make sure that frame unwind information is generated for DRD intercepts such that pthread_cancel() works properly. See also Ulrich Drepper, Cancellation and C++ Exceptions, 2010 (http://udrepper.livejournal.com/21541.html). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12651 --- diff --git a/drd/Makefile.am b/drd/Makefile.am index 153b38484c..a383cf98ae 100644 --- a/drd/Makefile.am +++ b/drd/Makefile.am @@ -135,7 +135,8 @@ vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES = \ vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \ $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \ - $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC) $(DRD_CFLAGS) + $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC) $(DRD_CFLAGS) \ + -fexceptions vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \ $(LIBREPLACEMALLOC_@VGCONF_PLATFORM_PRI_CAPS@) vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \