mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 05:37:06 +00:00
two halves: stacktrace.c, which deals with getting, traversing and printing stack traces; and execontext.c, which deals with storing stack traces permanently in a way that avoids duplicates, and comparing them. One nice outcome: previously we were often creating ExeContexts, which live forever, even when they were only needed temporarily. Ie. this was a memory leak, which has been removed. As part of this, new headers have been created, carved off core.h and tool.h. Lots of function names have changed, too. In Massif, I also changed a lot of "eip" names to "ip" to make them less x86-specific. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3429
29 lines
811 B
Makefile
29 lines
811 B
Makefile
|
|
SUBDIRS = $(VG_ARCH) $(VG_OS) $(VG_PLATFORM) .
|
|
DIST_SUBDIRS = $(VG_ARCH_ALL) $(VG_OS_ALL) $(VG_PLATFORM_ALL) .
|
|
|
|
EXTRA_DIST = \
|
|
tool.h.base \
|
|
valgrind.h.in \
|
|
vg_profile.c
|
|
|
|
incincdir = $(includedir)/valgrind
|
|
|
|
incinc_HEADERS = \
|
|
basic_types.h \
|
|
tool.h \
|
|
tool_asm.h \
|
|
pub_tool_stacktrace.h \
|
|
pub_tool_execontext.h \
|
|
valgrind.h
|
|
|
|
BUILT_SOURCES = tool.h valgrind.h
|
|
CLEANFILES = tool.h valgrind.h
|
|
|
|
tool.h: $(srcdir)/tool.h.base \
|
|
$(top_srcdir)/coregrind/gen_toolint.pl $(top_srcdir)/coregrind/toolfuncs.def
|
|
rm -f $@
|
|
cat $(srcdir)/tool.h.base > $@
|
|
$(PERL) $(top_srcdir)/coregrind/gen_toolint.pl toolproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@
|
|
$(PERL) $(top_srcdir)/coregrind/gen_toolint.pl initproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@
|