Commit Graph

30 Commits

Author SHA1 Message Date
Mark Wielaard
9f4cd0c47c drd/tests/tsan_unittest.cpp: Fix array CHECK
Use == equality, not = assignment, for CHECK.
2020-06-08 13:36:29 +02:00
Mark Wielaard
461cc5c003 Cleanup GPL header address notices by using http://www.gnu.org/licenses/
Sync VEX/LICENSE.GPL with top-level COPYING file. We used 3 different
addresses for writing to the FSF to receive a copy of the GPL. Replace
all different variants with an URL <http://www.gnu.org/licenses/>.

The following files might still have some slightly different (L)GPL
copyright notice because they were derived from other programs:

- files under coregrind/m_demangle which come from libiberty:
  cplus-dem.c, d-demangle.c, demangle.h, rust-demangle.c,
  safe-ctype.c and safe-ctype.h
- coregrind/m_demangle/dyn-string.[hc] derived from GCC.
- coregrind/m_demangle/ansidecl.h derived from glibc.
- VEX files for FMA detived from glibc:
  host_generic_maddf.h and host_generic_maddf.c
- files under coregrin/m_debuginfo derived from LZO:
  lzoconf.h, lzodefs.h, minilzo-inl.c and minilzo.h
- files under coregrind/m_gdbserver detived from GDB:
  gdb/signals.h, inferiors.c, regcache.c, regcache.h,
  regdef.h, remote-utils.c, server.c, server.h, signals.c,
  target.c, target.h and utils.c

Plus the following test files:

- none/tests/ppc32/testVMX.c derived from testVMX.
- ppc tests derived from QEMU: jm-insns.c, ppc64_helpers.h
  and test_isa_3_0.c
- tests derived from bzip2 (with embedded GPL text in code):
  hackedbz2.c, origin5-bz2.c, varinfo6.c
- tests detived from glibc: str_tester.c, pth_atfork1.c
- test detived from GCC libgomp: tc17_sembar.c
- performance tests derived from bzip2 or tinycc (with embedded GPL
  text in code): bz2.c, test_input_for_tinycc.c and tinycc.c
2019-05-26 20:07:51 +02:00
Mark Wielaard
206e81e8ad Fix tsan_unittest.cpp compile error with older compilers.
Older compilers (g++ 4.8.5) don't like '>>':
  error: ‘>>’ should be ‘> >’ within a nested template argument list.
Add an extra space.
2018-12-02 12:39:27 +01:00
Bart Van Assche
65dcbc70db drd/tests: Fix remaining gcc 8 compiler warnings 2018-12-01 21:53:59 -08:00
Julian Seward
ac60633d65 Bug 345248 - add support for Solaris OS in valgrind
Authors of this port:
    Petr Pavlu         setup@dagobah.cz
    Ivo Raisr          ivosh@ivosh.net
    Theo Schlossnagle  theo@omniti.com
            


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15426
2015-07-21 14:44:28 +00:00
Florian Krohm
ed872a7014 Fix most clang warnings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14467
2014-09-05 18:30:05 +00:00
Bart Van Assche
bce3207562 Make test 1 output independent of scheduler variations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11928
2011-07-28 15:01:01 +00:00
Julian Seward
d1ed036fc5 Fix a type mismatch that gcc-4.6 warns about.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11709
2011-04-26 10:23:54 +00:00
Bart Van Assche
8a3e9fdd7c git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11682 2011-04-03 17:42:19 +00:00
Bart Van Assche
a5ce3a89fb DRD tests: replaced __APPLE__ by VGO_darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11589
2011-03-05 14:11:40 +00:00
Bart Van Assche
f8b1abd1c0 Fixed a compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11263
2010-08-17 15:18:47 +00:00
Nicholas Nethercote
6fd0eb7b07 Merged the MACOSX106 branch to the trunk. Merge command:
svn merge -r11143:HEAD svn://svn.valgrind.org/valgrind/branches/MACOSX106

There were some easy-to-resolve conflicts.

Then I had to fix up coregrind/link_tool_exe*.in -- those files had been
added independently on both the trunk and the branch, AFAICT.  I just
overwrote the trunk versions with the branch versions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11194
2010-07-01 00:20:20 +00:00
Bart Van Assche
ea3ccead52 Made behavior of tsan_unittest again identical to the original behavior.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10801
2009-08-13 14:12:49 +00:00
Bart Van Assche
a7a1f97503 Third and last type-punned pointer fix.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10797
2009-08-12 17:40:32 +00:00
Bart Van Assche
44432a5c42 Fixed more gcc warnings about type-punned pointers breaking strict
aliasing / reworked changes applied through previous commit.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10796
2009-08-12 14:56:01 +00:00
Bart Van Assche
5e1086e053 Fixed gcc warnings about type-punned pointers breaking strict aliasing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10793
2009-08-12 12:52:23 +00:00
Bart Van Assche
b7715d3f91 Ported TSAN test 98 to Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10557
2009-07-23 10:52:32 +00:00
Bart Van Assche
61777dd5e2 Compiles now on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10498
2009-07-21 11:12:59 +00:00
Bart Van Assche
6b56e137c9 Suppressed the warnings issued by gcc about unused return values.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10428
2009-07-11 14:14:58 +00:00
Bart Van Assche
3d7dbdb790 Added #include <stdint.h>.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10319
2009-06-14 08:18:44 +00:00
Bart Van Assche
130b0328d5 tsan_unittest.cpp does now compile cleanly even with -Wshadown enabled.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10241
2009-06-04 09:11:28 +00:00
Bart Van Assche
ffc036b223 Compiles now cleanly without -Wno-empty-body.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10234
2009-06-03 20:02:29 +00:00
Bart Van Assche
0017799cd4 Fixed a few typo's in comments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10223
2009-06-03 08:54:37 +00:00
Bart Van Assche
85a0aea8c7 Updated ANNOTATE_*() macro's as discussed on the valgrind-developers mailing list. Merged drt/unittest r1007:1014. Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10220
2009-06-03 08:11:02 +00:00
Bart Van Assche
f6c2ff5905 Some source code modifications that should help getting tsan_unittest.cpp compiled on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10214
2009-06-02 15:11:42 +00:00
Bart Van Assche
84ca389dd6 - Portability improvement: switched from __gnu_cxx::hash_map<> (a gcc
extension) to std::map<> (standard C++).
- Replaced tempnam() by mkdtemp() / mkstemp() because gcc emits a warning
  about the former.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10213
2009-06-02 15:03:44 +00:00
Bart Van Assche
9e8b78dbad Made the call stack printed by DRD for reading the variable GLOB independent of the Linux distribution the test is run on.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10192
2009-06-01 18:50:27 +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
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
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