Commit Graph

89 Commits

Author SHA1 Message Date
Nicholas Nethercote
44e10a1a18 Minor updates.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7239
2007-11-27 02:03:44 +00:00
Nicholas Nethercote
5f7908da8b update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7203
2007-11-23 01:42:10 +00:00
Nicholas Nethercote
d6b40a390d Fixed up the log file mess throughout, including the docs. This killed
--log-file-qualifier and --log-file-exactly.

Updated NEWS some in preparation for 3.3.0.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7202
2007-11-23 01:41:32 +00:00
Josef Weidendorfer
9959083616 callgrind: Use directory in debug info when available
Prepend the file name of a source file with the directory
if that is available. This not only gets rid of problems with the
same file name used in different paths of a project, but lets
the annotation work out of the box without having to specify any
source directory.
Works both with callgrind_annotate and KCachegrind without any
changes there.

Inspired by Nick's change to cachegrind doing the same thing
in r6839 (and gets rid of a FIXME in the source)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6850
2007-09-17 12:52:10 +00:00
Nicholas Nethercote
6152e4a5f5 update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6840
2007-09-17 00:41:18 +00:00
Julian Seward
e16417ddf7 Add branch-misprediction profiling to Cachegrind. When the (new) flag
--branch-sim=yes is specified, Cachegrind simulates a simple indirect
branch predictor and a conditional branch predictor.  The latter
considers both the branch instruction's address and the behaviour of
the last few conditional branches.  Return stack prediction is not
modelled.

The new counted events are: conditional branches (Bc), mispredicted
conditional branches (Bcm), indirect branches (Bi) and mispredicted
indirect branches (Bim).  Postprocessing tools (cg_annotate, cg_merge)
handle the new events as you would expect.  Note that branch
simulation is not enabled by default as it gives a 20%-25% slowdown,
so you need to ask for it explicitly using --branch-sim=yes.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6733
2007-05-08 09:20:25 +00:00
Nicholas Nethercote
f79a3419f5 More info about the VEX changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6658
2007-03-22 20:58:50 +00:00
Nicholas Nethercote
c5c907296f update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6589
2007-02-12 22:38:50 +00:00
Nicholas Nethercote
d7b400e174 Update for changes to lackey
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6586
2007-02-12 10:37:37 +00:00
Nicholas Nethercote
2dd37581a1 extra thing
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6581
2007-02-10 05:20:03 +00:00
Nicholas Nethercote
904ce59903 Merge 3.2.3 release notes into trunk.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6563
2007-01-30 05:18:38 +00:00
Nicholas Nethercote
cede6557d8 Add 3.2.2 release notes to trunk's NEWS file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6550
2007-01-23 05:58:52 +00:00
Nicholas Nethercote
fd75d1115d Avoid duplication.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6548
2007-01-23 05:31:20 +00:00
Nicholas Nethercote
a2760304c1 Add a NEWS item about Vex type/function name changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6419
2006-12-24 07:54:19 +00:00
Julian Seward
f290b3f904 Fix version.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6403
2006-12-16 04:58:59 +00:00
Nicholas Nethercote
d162731a2c Completely overhauled the internals of Memcheck's error handling. All the
different error kinds were reusing the same struct for storing their
details.  Each one used some but not all the fields, and the AddrInfo was
similar, and it was very confusing.

So I changed MC_Error and AddrInfo to be tagged unions, like Vex's IRExpr and
IRStmt types.  The resulting code is a little more verbose but much easier
to understand.  I also split up several error kinds, which also made things
simpler.  The user-visible behaviour is identical except for a couple of
very minor things that I've documented in the NEWS file for the 3.3.0
release.

Ideally I'd get rid of the Addr and Char* fields in the core Error type,
which are not always used, and do them similarly within tools.  But that
would require changing the core/tool interface, so I'm leaving it for the
moment.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6402
2006-12-16 00:54:12 +00:00
Julian Seward
e9e2d23d14 Add 3.2.1 release notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6073
2006-09-16 01:00:35 +00:00
Julian Seward
a51a59e9dc Finalise 3.2.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5957
2006-06-06 21:41:22 +00:00
Nicholas Nethercote
7992313b2f Add documentation on how to run the performance suite.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5951
2006-06-02 23:57:22 +00:00
Julian Seward
d6507c0e26 Third time lucky?
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5947
2006-05-27 23:43:27 +00:00
Julian Seward
2a96cb896d Wibble, wibble, wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5945
2006-05-27 21:14:09 +00:00
Julian Seward
9b5fc90a1b 3.2.0rc1 second try.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5944
2006-05-27 17:27:31 +00:00
Julian Seward
9eb0592700 Even more news.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5939
2006-05-27 03:22:04 +00:00
Julian Seward
ec15763d05 Wording wibble.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5938
2006-05-26 16:06:10 +00:00
Julian Seward
99e1955018 3.2.0rc1, hopefully.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5937
2006-05-26 13:51:37 +00:00
Julian Seward
e5bb962be2 Push towards a final version for 3.2.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5932
2006-05-26 00:47:13 +00:00
Julian Seward
874d81903e A new flag, --error-exitcode=, has been added, to allow changing the
exit code in runs where Valgrind reported errors.  Fixes #121814 and
#126517.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5897
2006-05-12 23:50:15 +00:00
Julian Seward
d9a7fe71b4 Update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5856
2006-04-18 02:04:52 +00:00
Nicholas Nethercote
13cc620dda update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5855
2006-04-18 00:52:37 +00:00
Nicholas Nethercote
9a6b5608f1 Redid the --trace-mem=yes option of Lackey properly. Updated some related
stuff along with it, such as the NEWS file.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5840
2006-04-09 01:23:29 +00:00
Julian Seward
9b717877c0 Update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5836
2006-04-08 13:16:36 +00:00
Nicholas Nethercote
3d12e0e9db Terminology change: previously in Memcheck we had the four states:
noaccess, writable, readable, other

Now they are:

   noaccess, undefined, defined, partdefined

As a result, the following names:

   make_writable, make_readable,
   check_writable, check_readable, check_defined

have become:

   make_mem_undefined, make_mem_defined,
   check_mem_is_addressable, check_mem_is_defined, check_value_is_defined

(and likewise for the upper-case versions for client request macros).
The old MAKE_* and CHECK_* macros still work for backwards compatibility.

This is much better, because the old names were subtly misleading.  For
example:

  - "readable" really meant "readable and writable".
  - "writable" really meant "writable and maybe readable, depending on how
    the read value is used".
  - "check_writable" really meant "check writable or readable"

The new names avoid these problems.

The recently-added macro which was called MAKE_DEFINED is now
MAKE_MEM_DEFINED_IF_ADDRESSABLE.

I also corrected the spelling of "addressable" in numerous places in
memcheck.h.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5802
2006-03-31 11:57:59 +00:00
Nicholas Nethercote
a9a0969a05 tweak
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5794
2006-03-28 00:05:16 +00:00
Nicholas Nethercote
a464c34c4a Partial release notes for 3.2.0, talking about the performance improvements
and removal of Addrcheck.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5793
2006-03-27 12:23:44 +00:00
Julian Seward
439c8fd491 Merge stuff for 3.1.1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5775
2006-03-16 11:33:14 +00:00
Julian Seward
e9cac8e325 Hopefully final changes for 3.1.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5235
2005-11-26 13:38:58 +00:00
Julian Seward
1204c7450a Hopefully final 3.1.0RC1 changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5224
2005-11-20 19:45:30 +00:00
Nicholas Nethercote
578dec4859 Note that Helgrind and Addrcheck are still busted.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5221
2005-11-20 18:14:04 +00:00
Nicholas Nethercote
48b9b220e0 Add a note to release notes about GUIs, which some survey responders
seemed unaware of.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5220
2005-11-20 18:02:15 +00:00
Nicholas Nethercote
be1e5b0709 Another item for 3.1.0 release notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5219
2005-11-20 17:19:28 +00:00
Nicholas Nethercote
aba486d880 Stuff about core-dump reinstate-ment in the manual and release notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5193
2005-11-18 17:36:01 +00:00
Julian Seward
921283974b Record XML output format changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5157
2005-11-17 00:51:36 +00:00
Nicholas Nethercote
bc87879123 Minor tweaks.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5154
2005-11-16 20:12:22 +00:00
Julian Seward
ee1f1bc2b5 Even more news.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5152
2005-11-16 19:13:13 +00:00
Julian Seward
5959f02a89 Edit the release notes a bit and add our huge list of fixed bugs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5150
2005-11-16 18:39:25 +00:00
Nicholas Nethercote
579c660a90 addition
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5115
2005-11-13 16:41:15 +00:00
Nicholas Nethercote
68c76ca8a2 First cut at 3.1.0 release notes. Please edit as desired...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5102
2005-11-12 19:09:51 +00:00
Julian Seward
c7178391fb Sync with 3_0_BRANCH.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4586
2005-08-30 12:35:36 +00:00
Julian Seward
edb0623b91 mark 3.0.1RC1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4569
2005-08-29 13:44:43 +00:00
Julian Seward
ae5946a850 Update for 3.0.1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4566
2005-08-29 13:24:51 +00:00