diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-17 06:44:15 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-17 06:44:15 -0700 |
commit | c43521c50efad928ff0b41724b967b96e6cb274f (patch) | |
tree | bb6e037a30856be5b560121ad79330a498acd2d6 /gc.h | |
parent | f4110d5ca2700c0ed71c6e5d9f009111408dc58a (diff) | |
download | txr-c43521c50efad928ff0b41724b967b96e6cb274f.tar.gz txr-c43521c50efad928ff0b41724b967b96e6cb274f.tar.bz2 txr-c43521c50efad928ff0b41724b967b96e6cb274f.zip |
Print valgrind backtraces for break_obj.
* gc.c (more): Under EXTRA_DEBUGGING, call breakpt()
here also, when it is detected that break_obj is
added to the free list for the firts time.
Print a message and backtrace using
VALGRIND_PRINTF_BACKTRACE.
(make_obj): Likewise, for an object that is pulled out
of the free list and returned.
(mark_obj, sweep_one): Print backtrace with Valgrind for
break_obj, in addition to calling breakpt().
Diffstat (limited to 'gc.h')
0 files changed, 0 insertions, 0 deletions