Nicholas Nethercote 8dd1a0138c Fixed a bug in Cachegrind -- if the profiled program changes working directory,
the output file wouldn't get written.  No longer creating the file at startup
and then writing it at the end;  just writing it at the end.  Also recording
the start directory at the start so that the output ends up in it even if the
program does change directory.

Had to add VG_(getcwd)() to vg_mylibc.c for this.

Added a regression test for it too.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1576
2003-04-30 20:23:58 +00:00

23 lines
538 B
Makefile

noinst_SCRIPTS = filter_stderr
EXTRA_DIST = $(noinst_SCRIPTS) \
chdir.vgtest chdir.stderr.exp
dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
fpu-28-108.vgtest fpu-28-108.stderr.exp
check_PROGRAMS = \
chdir dlclose fpu-28-108 myprint.so
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
AM_CXXFLAGS = $(AM_CFLAGS)
AM_CCASFLAGS = $(AM_CFLAGS)
# C ones
chdir_SOURCES = chdir.c
dlclose_SOURCES = dlclose.c
dlclose_LDADD = -ldl
myprint_so_SOURCES = myprint.c
myprint_so_LDFLAGS = -shared
fpu_28_108_SOURCES = fpu-28-108.S