Commit Graph

7117 Commits

Author SHA1 Message Date
Bart Van Assche
c37aacc7e9 Added API warning for the recently added ANNOTATE_*() macro's.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10190
2009-06-01 10:49:38 +00:00
Bart Van Assche
3318079448 Filter out vector clock information from DRD's regression test output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10189
2009-06-01 10:48:53 +00:00
Julian Seward
07e9355969 Fix compile breakage in is_systemish_library_name introduced in r10173.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10188
2009-05-31 19:59:29 +00:00
Bart Van Assche
10ec95c559 Filter out absolute paths.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10187
2009-05-31 19:11:16 +00:00
Bart Van Assche
e73284e37f - Added support for most of the ANNOTATE_...() macro's supported by
ThreadSanitizer.                                                              
- Modified DRD's error reporting code such that it does no longer let           
  the Valgrind core print the Valgrind thread ID but that it now prints         
  the DRD thread ID and name. Updated expected output files where               
  necessary.                                                                    
- Modified drd/test/Makefile.am such that the tests using gcc's built-in        
  functions for atomic memory access such that these are only compiled when     
  the gcc version in use supports these built-in functions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10186
2009-05-31 18:53:54 +00:00
Bart Van Assche
a83d6eb896 Reverted some of the DRD customizations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10185
2009-05-31 18:00:39 +00:00
Bart Van Assche
afe9eeac3b Added more DRD customizations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10184
2009-05-31 18:00:12 +00:00
Bart Van Assche
c658f375d5 The conditional HAVE_BUILTIN_ATOMIC is now available in the various Makefile.am files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10183
2009-05-31 16:21:23 +00:00
Bart Van Assche
2d5b63c11d Updated ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10182
2009-05-31 16:17:22 +00:00
Bart Van Assche
7cac32967a Updated ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10181
2009-05-31 16:16:34 +00:00
Bart Van Assche
9c500f810a Updated ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10180
2009-05-31 16:15:23 +00:00
Bart Van Assche
f26f4de03f Updated ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10179
2009-05-31 16:14:52 +00:00
Bart Van Assche
1e71b3e1bd Fixed a compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10178
2009-05-31 11:54:14 +00:00
Bart Van Assche
c1e725f6b0 Customized for DRD.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10177
2009-05-31 11:53:39 +00:00
Bart Van Assche
123e053603 Added test that checks whether the compiler supports -Wno-empty-body.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10176
2009-05-31 11:22:58 +00:00
Bart Van Assche
d5b67eb9b1 Filter line numbers for functions defined in header files too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10175
2009-05-31 11:21:54 +00:00
Julian Seward
b106f25f23 Document --auto-run-dsymutil flag.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10174
2009-05-31 09:34:05 +00:00
Julian Seward
b2568db819 is_systemish_library_name: add "/opt" and "/sw" to the list of places
where we shouldn't auto-run dsymutil.  (Luc Bourhis).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10173
2009-05-31 08:31:06 +00:00
Nicholas Nethercote
c35861f4ab Update a comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10172
2009-05-31 07:03:05 +00:00
Bart Van Assche
c6f796f5ae Added a copy of r1007 of the files racecheck_unittest.cc and thread_wrappers_pthread.h. These files have been obtained from the SVN repository http://data-race-test.googlecode.com/svn/trunk/unittest.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10170
2009-05-30 16:33:10 +00:00
Josef Weidendorfer
241139a04e Callgrind: fix (part of?) bug 191992.
Matching of function names was wrong.
Thanks to  Timo Lindfors

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10169
2009-05-29 15:30:08 +00:00
Nicholas Nethercote
265b63f49e Partly de-hackify auxprogs/Makefile.am. libmpiwrap.*.*.dSYM is now
installed on Darwin.  Installation and cleaning are more in line with the
other Makefile.am files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10167
2009-05-29 05:40:33 +00:00
Nicholas Nethercote
995ca13ebd Add a comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10166
2009-05-29 00:52:17 +00:00
Nicholas Nethercote
efcb72de6f Unbreak nestedfns on --enable-only32bit installations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10165
2009-05-29 00:31:31 +00:00
Julian Seward
93058e37d1 Use --gen-suppressions=all rather than =yes, since the latter causes
the entire regtest system to hang if in fact a suppression does need
to be generated (since V stops to ask).  Not sure why this flag is
really in here, tho.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10162
2009-05-28 17:39:56 +00:00
Julian Seward
44d851851e Reinstate an include needed on ppc{32,64}-linux.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10161
2009-05-28 17:15:41 +00:00
Tom Hughes
cb02702334 Add support for AT_RANDOM to keep glibc happy when it is built
to assume kernel 2.6.29 or later. Closes #194429.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10160
2009-05-28 12:51:24 +00:00
Nicholas Nethercote
64dcb65ca5 Make this file executable too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10158
2009-05-28 02:24:28 +00:00
Nicholas Nethercote
2172e4962f Make this file executable.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10157
2009-05-28 02:20:59 +00:00
Nicholas Nethercote
07045477ca Merge the DARWIN branch onto the trunk.
I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts.  So instead I just took the diff between
the branch and trunk  at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156
2009-05-28 01:53:07 +00:00
Nicholas Nethercote
ff9fe6eb81 DARWIN sync: timeval.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10150
2009-05-25 01:48:59 +00:00
Nicholas Nethercote
f7b44686d5 DARWIN sync: add a comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10149
2009-05-25 01:48:32 +00:00
Nicholas Nethercote
2d64e71c06 DARWIN sync: whitespace.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10148
2009-05-25 01:47:56 +00:00
Nicholas Nethercote
8fde04297b Changing VG_MALLOC_MIN_SZB to 16 on some platforms broke heap profiling.
This fixes it by changing the size of a cost centre from ULong to
VG_MALLOC_MIN_SZB.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10136
2009-05-24 23:36:50 +00:00
Nicholas Nethercote
43c9f484e0 DARWIN sync: sys_truncate64 and sys_ftruncate64 wrappers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10134
2009-05-24 23:02:55 +00:00
Nicholas Nethercote
93ab20a3de DARWIN sync: remove redundant check (it's done again in pre_mem_sock_addr()).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10133
2009-05-24 22:45:33 +00:00
Nicholas Nethercote
27ff9aaf29 DARWIN sync: sys_open wrapper.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10131
2009-05-24 22:32:33 +00:00
Nicholas Nethercote
63d3d86e21 DARWIN sync: sys_readlink layout.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10121
2009-05-23 01:51:54 +00:00
Nicholas Nethercote
e6f07f20d3 DARWIN sync: remove '.' from some field names for consistency, and factor
out some variables.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10119
2009-05-23 01:18:44 +00:00
Nicholas Nethercote
9633a4c11d DARWIN sync: all the timeval stuff
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10106
2009-05-22 08:12:46 +00:00
Nicholas Nethercote
3f5f690a32 DARWIN sync: comment and braces.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10102
2009-05-22 07:09:03 +00:00
Nicholas Nethercote
83abfcbfa0 DARWIN sync: change the 3rd arg of VG_(fcntl).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10101
2009-05-22 07:08:12 +00:00
Nicholas Nethercote
22dfc72abd DARWIN sync: export VG_(socket).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10098
2009-05-22 02:00:27 +00:00
Nicholas Nethercote
de5e58f35a Partly revert r10044 -- do use struct vki_sockaddr, and define it for AIX.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10096
2009-05-22 00:52:14 +00:00
Nicholas Nethercote
d256d37393 Avoid struct vki_sockaddr_in in my_connect(), because it's not defined on
all platforms;  void* suffices.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10095
2009-05-22 00:47:08 +00:00
Nicholas Nethercote
d3c159040a Abort on unknown fcntl, rather than doing no checking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10094
2009-05-22 00:38:15 +00:00
Nicholas Nethercote
b4dbd225dd DARWIN sync: add ML_({PRE,POST}_unknown_ioctl).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10089
2009-05-22 00:15:06 +00:00
Nicholas Nethercote
8f020ede95 Merge r10085, r10086 (post-fork handling) from the DARWIN branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10087
2009-05-21 23:59:34 +00:00
Nicholas Nethercote
a739383a56 DARWIN sync: improve syscall retval tracking, and factor out position code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10084
2009-05-21 23:53:40 +00:00
Nicholas Nethercote
0f41b8b20b DARWIN sync: spacing and layout.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10083
2009-05-21 23:52:52 +00:00