122 Commits

Author SHA1 Message Date
Nicholas Nethercote
b966da4420 Test exp-tools by default as well.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7390
2008-02-10 22:19:58 +00:00
Julian Seward
1e888cfd02 Make a new regtest target, "all-regtest", being the union of "make
regtest" and "make exp-regtest".  Then change the nightly build system
to run all-regtest instead of exp-regtest.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7332
2008-01-09 21:03:43 +00:00
Dirk Mueller
bc2e4aa75a add glibc 2.7 suppression to the distribution list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7226
2007-11-26 14:54:36 +00:00
Julian Seward
54e5bf2856 Misc changes needed to support exp-drd (Bart Van Assche).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7213
2007-11-25 14:08:53 +00:00
Julian Seward
1828c93b3b Preliminary support for Fedora 8, which includes initial support for
glibc-2.7.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7181
2007-11-18 14:40:02 +00:00
Julian Seward
d511a7a7df Add some Helgrind suppressions for LinuxThreads.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7146
2007-11-11 06:13:01 +00:00
Julian Seward
af406f51e9 Merge (from branches/THRCHECK) misc build-system changes. Nothing
significant.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7128
2007-11-09 23:30:51 +00:00
Julian Seward
5b02b70476 Add Bryan Meredith's Omega tool as an experimental tool. Maintainer
is Rich Coe.  Also, a minor mod to Makefile.install.am to handle tool
names with dashes in.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7112
2007-11-09 12:30:36 +00:00
Dirk Mueller
c01cc403f1 add glibc-2.6.supp to the distribution list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6767
2007-07-14 22:43:25 +00:00
Dirk Mueller
1ef58269c7 rename as _SOURCES is a reserved keywoard and breaks with newer
auto*foo: 
Makefile.am:110: variable `VEX_PRIMARY_SOURCES' is defined but no
program or
Makefile.am:110: library has `VEX_PRIMARY' as canonic name (possible
typo)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6384
2006-12-07 15:31:57 +00:00
Julian Seward
167543de97 Back out 'memtrace' related stuff until status of it is established;
having build system references to it without corresponding sources
causes build failures.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6323
2006-10-19 13:23:59 +00:00
Nicholas Nethercote
fad24de4bc Move VG_BUGS_TO to pub_tool_basics.h so that Nulgrind need not import
pub_tool_libcassert.h.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6320
2006-10-18 21:50:26 +00:00
Julian Seward
713b2d46c0 Merge r6086:
Makefile.am changes for AIX5.  Almost all boilerplate stuff fitting in
with the existing factorisation scheme.  The only change of interest
is that configure.in now generates automake symbols of name
VGP_platform and VGO_os, whereas previously it just made VG_platform
which was a bit inconsistent with the VGP/VGO/VGA scheme used in C
code.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6242
2006-10-17 00:56:43 +00:00
Julian Seward
dcf1fdd250 Include new file in tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6221
2006-10-14 14:03:51 +00:00
Nicholas Nethercote
991367c922 Merge in the COMPVBITS branch to the trunk. This is a big change to
Memcheck, replacing the 9-bits-per-byte shadow memory representation to a
2-bits-per-byte representation (with possibly a little more on the side) by
taking advantage of the fact that extremely few memory bytes are partially
defined.

For the SPEC2k benchmarks with "test" inputs, this speeds up Memcheck by a
(geometric mean) factor of 1.20, and reduces the size of shadow memory by a
(geometric mean) factor of 4.26.

At the same time, Addrcheck is removed.  It hadn't worked for quite some
time, and with these improvements in Memcheck its raisons-d'etre have
shrivelled so much that it's not worth the effort to keep around.  Hooray!

Nb: this code hasn't been tested on PPC.  If things go wrong, look first in
the fast stack-handling functions (eg. mc_new_mem_stack_160,
MC_(helperc_MAKE_STACK_UNINIT)).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5791
2006-03-27 11:37:07 +00:00
Josef Weidendorfer
a3b8d67b91 Callgrind merge: code
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5780
2006-03-20 10:27:30 +00:00
Cerion Armour-Brown
b0bdc85dba Tracking VEX r1507
adjusted references to renamed VEX dirs guest-ppc/, host-ppc/



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5419
2005-12-23 11:44:40 +00:00
Nicholas Nethercote
49db1b68a8 First attempt at some performance tracking tools. Includes a script vg_perf
(use "make perf" to run) that executes test programs and times their
slowdowns under various tools.  It works a lot like the vg_regtest script.
It's a bit rough around the edges -- eg. you can't currently directly
compare two different versions of Valgrind, which would be useful -- but it
is a good start.

There are currently two test programs in perf/.  More will be added as time
goes on.  This stuff will be built on so that performance changes can be
tracked over time.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5323
2005-12-10 23:11:28 +00:00
Tom Hughes
1360465e38 Automake 1.7 is required now.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5254
2005-11-30 00:03:58 +00:00
Julian Seward
8ba9a34088 Add framework for ppc64 support. Apologies in advance for the
inevitable breakage to other platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5250
2005-11-29 13:05:56 +00:00
Tom Hughes
b5c033e906 Dual architecture support - this commit is a major rework of the build
system that allows multiple copies of valgrind to be built so that we
can build both x86 and amd64 versions of the tools on amd64 machines.

The launcher is then modified to look at the program being run and
decide which tool to use to run it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5027
2005-11-07 15:24:38 +00:00
Nicholas Nethercote
e41c7abfe2 Commit Jeroen Witmond's xml-to-text translator, and use it for the FAQ.
Less double maintenance, hoorah!



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4830
2005-09-30 01:43:32 +00:00
Julian Seward
cc8ccbbfb4 This commit merges in changes from branches/ASPACEM (specifically,
changes from r4341 through r4787 inclusive).  That branch is now dead.
Please do not commit anything else to it.

For the most part the merge was not troublesome.  The main areas of
uncertainty are:

- build system: I had to import by hand Makefile.core-AM_CPPFLAGS.am
  and include it in a couple of places.  Building etc seems to still
  work, but I haven't tried building the documentation.

- syscall wrappers: Following analysis by Greg & Nick, a whole lot of
  stuff was moved from -generic to -linux after the branch was created.
  I think that is satisfactorily glued back together now.

- Regtests: although this appears to work, no .out files appear, which
  is strange, and makes it hard to diagnose regtest failures.  In
  particular memcheck/tests/x86/scalar.stderr.exp remains in a 
  conflicted state.

- amd64 is broken (slightly), and ppc32 will be unbuildable.  I'll
  attend to the former shortly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4789
2005-09-27 19:20:21 +00:00
Nicholas Nethercote
2e441ef26d Clarify comment. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4631
2005-09-13 00:58:19 +00:00
Nicholas Nethercote
63df7df1c8 Give file a better name.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4546
2005-08-28 04:48:12 +00:00
Nicholas Nethercote
b0887d95d2 Give informative failure messages if you try to use Helgrind or
Addrcheck.  As a results, we are now building Addrcheck again, which
required commenting out lots of code.

BACKPORT TO 3_0_X, AND POSSIBLY TO 2_4_X (the Helgrind part, with
    modifications)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4384
2005-08-12 15:23:57 +00:00
Julian Seward
87673a6d4a Copy the right stuff into the tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4311
2005-08-03 16:39:44 +00:00
Tom Hughes
954e21b8c0 Prevent the rule for installing the VEX headers from trying to add
them to the distribution as it doesn't work due to the full paths and
they are in EXTRA_DIST anyway.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4279
2005-07-27 09:25:08 +00:00
Tom Hughes
974bb38aff Install VEX headers from the configured version not the default version.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4277
2005-07-27 07:36:22 +00:00
Nicholas Nethercote
d0bcfed736 Vex headers should be installed in $INST/include/valgrind/, too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4274
2005-07-26 23:06:18 +00:00
Julian Seward
b101826494 Makefile stuff, partly from Tom, which uses the SVN-externall'd VEX
tree a bit better.  Also, fixes to make 'make dist' include into the
final tarball a minimal but workable subset of the stuff in the VEX
directory.

Note, you must do 'make' or 'make install' before 'make dist' since
otherwise VEX/priv/main/vex_svnversion.h will not exist.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4266
2005-07-26 10:42:57 +00:00
Nicholas Nethercote
127e8458a0 Fix 'make dist'.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4244
2005-07-24 23:21:28 +00:00
Nicholas Nethercote
61448c507d We have a nice little collection of text files describing various high
level things.  But they're all over the place.  This commits moves
them all to the new docs/internals/ directory, and gives them 
a consistent naming scheme.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4196
2005-07-19 21:46:19 +00:00
Nicholas Nethercote
dd80a229b4 whoops
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4099
2005-07-03 17:10:04 +00:00
Nicholas Nethercote
19b510f7d2 Removed Corecheck, as it no longer serves a useful purpose.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4077
2005-07-01 22:20:34 +00:00
Nicholas Nethercote
b5a0177d11 Allow for glibc-2.4.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4063
2005-06-30 04:06:38 +00:00
Nicholas Nethercote
128115f4df "make dist" fixes from Ralf Wildenhues.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4010
2005-06-24 13:45:56 +00:00
Nicholas Nethercote
b2f4f4cba0 Get "make dist" closer to working again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3946
2005-06-19 05:43:21 +00:00
Nicholas Nethercote
f174930b23 Final commit for the initial modularisation pass:
- Broke part of m_scheduler off into a new module m_threadstate.  It
  contains ThreadState, VG_(threads)[] and some basic operations on the
  thread table.  All simple stuff, the complex stuff stays in m_scheduler.
  This avoids lots of circular dependencies between m_scheduler and other
  modules.

- Managed to finally remove core.h and tool.h, double hurrah!

- Introduced pub_tool_basics.h and pub_core_basics.h, one of which is
  include by every single C file.

- Lots of little cleanups and changes related to the above.

- I even did a small amount of documentation updating.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3944
2005-06-19 01:24:32 +00:00
Julian Seward
53fb1b9d1f Add in some missing files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3795
2005-05-24 14:23:10 +00:00
Julian Seward
fb5888c4ba Disable Addrcheck builds whilst I'm doing bull-in-a-china-shop stuff
with Memcheck.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3533
2005-04-20 14:30:19 +00:00
Nicholas Nethercote
4295fad962 Reinstate Helgrind, to an extent: compile it, so that it doesn't bit-rot.
But don't regtest it, because they all just fail.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3479
2005-03-30 04:13:56 +00:00
Nicholas Nethercote
ee117f37d1 Reinstated Cachegrind. Seems to be working ok -- numbers compare pretty
well with those for the CVS version... the I1 accesses are noticeably
higher, but everything else is nearly the same.

There's some ugliness in spots, partly due to shortcomings with Vex.  And
CPUID auto-detection is currently disabled, because cpuid is disabled in
general.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3389
2005-03-20 00:20:06 +00:00
Nicholas Nethercote
a551dd690a Reinstate Addrcheck. Some of the tests fail -- some of the leak ones
because the added VG_(find_root_memory)() is just a stub.  And there's a
problem with overlap checking that I haven't worked out yet.  Still it's a
start.  The commit also brings Memcheck back into the build process,
although mc_main.c is entirely commented out at the moment.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3352
2005-03-14 01:16:05 +00:00
Julian Seward
b801ce616c Reinstate lackey, corecheck, massif. They all start and run, but
massif gets a segfault for some reason.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3285
2005-03-11 14:51:24 +00:00
Julian Seward
0356d27ca6 Merge in changes from the 2.4.0 line. This basically brings in the
overhaul of the thread support.  Many things are now probably broken,
but at least with --tool=none, simple and not-so-simple threaded and
non-thread programs work.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3265
2005-03-10 23:59:00 +00:00
Nicholas Nethercote
7a75a9f583 Overhauled the docs. Removed all the HTML files, put in XML files as
converted by Donna.  Hooked it into the build system so they are only
built when specifically asked for, and when doing "make dist".

They're not perfect;  in particular, there are the following problems:
- The plain-text FAQ should be built from FAQ.xml, but this is not
  currently done.  (The text FAQ has been left in for now.)

- The PS/PDF building doesn't work -- it fails with an incomprehensible
  error message which I haven't yet deciphered.

Nonetheless, I'm putting it in so others can see it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3153
2004-11-30 10:43:45 +00:00
Nicholas Nethercote
9171a07599 Reinstated Helgrind and Cachegrind; at least, they are included in
compilation now.  They both don't work, as I made the minimal changes
necessary to get them compiling (eg. both of the TL_(instrument)()
functions were commented out and replaced with a stub).

This means that 'make dist' should more or less work again, which is
necessary for my playing with the XML documentation.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3107
2004-11-26 11:30:14 +00:00
Nicholas Nethercote
ad9d745590 Reinstate Massif.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3102
2004-11-25 18:04:54 +00:00
Julian Seward
e91eb48b89 Make various other tools compile; also fix the stage2 linker script.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3068
2004-11-22 20:38:40 +00:00