freebsd-ports/devel/boehm-gc/files/patch-include-gc.h
MANTANI Nobutaka 7cf2a6a1ca Add four knobs (WITH_THREADING, WITH_PARALLEL_MARK, WITH_REDIRECT and WITH_FULLDEBUG).
Use OPTIONS.
Fix a bug in leak detection.

Submitted by:	green
2004-05-24 14:54:56 +00:00

10 lines
444 B
C

--- include/gc.h.orig Wed Jun 4 17:07:33 2003
+++ include/gc.h Wed May 12 20:03:22 2004
@@ -487,6 +487,7 @@
/* gcc knows how to retrieve return address, but we don't know */
/* how to generate call stacks. */
# define GC_RETURN_ADDR (GC_word)__builtin_return_address(0)
+# define GC_RETURN_ADDR_PARENT (GC_word)__builtin_return_address(1)
# else
/* Just pass 0 for gcc compatibility. */
# define GC_RETURN_ADDR 0