]> git.ipfire.org Git - thirdparty/valgrind.git/commit
* In the conflicting-event mechanism, also record the size and
authorJulian Seward <jseward@acm.org>
Sun, 7 Dec 2008 01:41:46 +0000 (01:41 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 7 Dec 2008 01:41:46 +0000 (01:41 +0000)
commit5da3926707252ad7fe2bcf11c8feb8a9af807600
treeb76087c511aed57635246d6b55ba00eec1619640
parent5aa3e073b7a4d2f2b69f0c9805e5635a1964f6fa
* In the conflicting-event mechanism, also record the size and
  read-or-writeness of each access, so that these can be displayed in
  error messages.

* Use recorded read-or-writeness info to avoid producing error
  messages that claim claim two reads race against each other -- this
  is clearly silly.  For each pair of racing accesses now reported, at
  least one of them will (should!) always now be a write, and (as
  previously ensured) they will be from different threads.

* Lookups in the conflicting-access map is expensive, so don't do that
  as soon as a race is detected.  Instead wait until the update_extra
  method is called.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8809
helgrind/hg_errors.c
helgrind/hg_errors.h
helgrind/libhb.h
helgrind/libhb_core.c