6305 Commits

Author SHA1 Message Date
Bart Van Assche
fdececd185 - Added support for the variable ABT_JOBS, number of jobs to run in parallel.
- Added support for the variable ABT_RUN_REGTEST, the command to run the regression tests.
- Added support for the variable ABT_CONFIGURE_OPTIONS, such that extra command line options
  can be passed to the configure script.
- Cross-compilation patch is applied after source code checkout and before the source code is
  compiled.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8588
2008-09-08 18:43:53 +00:00
Bart Van Assche
40439935c0 Added configuration files for Georgia Tech's Cellbuzz cluster.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8587
2008-09-08 18:39:38 +00:00
Bart Van Assche
97ea413ed1 Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8585
2008-09-07 18:49:35 +00:00
Bart Van Assche
e2ad1094ca Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8584
2008-09-07 18:03:09 +00:00
Bart Van Assche
fbbdba12de Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8583
2008-09-07 18:01:54 +00:00
Bart Van Assche
10057941ce Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8582
2008-09-07 18:00:38 +00:00
Bart Van Assche
58281c67e1 Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8581
2008-09-07 17:31:03 +00:00
Bart Van Assche
4fdb1bd492 Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8580
2008-09-07 17:14:40 +00:00
Bart Van Assche
396e59c18c Added double quotes around a shell function argument.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8579
2008-09-07 17:10:07 +00:00
Bart Van Assche
0586d0e440 Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8578
2008-09-07 17:06:40 +00:00
Bart Van Assche
dd178f74bf Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8577
2008-09-07 17:03:57 +00:00
Bart Van Assche
66f7524276 Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8576
2008-09-07 17:01:12 +00:00
Bart Van Assche
214f9a898a Disabled printing of file descriptor value in order to make the test results more reproducible.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8575
2008-09-07 16:55:15 +00:00
Bart Van Assche
86ff87c102 Enabled capget and capset system calls for amd64, ppc32 and ppc64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8554
2008-08-27 17:41:56 +00:00
Bart Van Assche
1f63c5ebc4 Added regression test for Linux' capget system call.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8553
2008-08-27 17:41:06 +00:00
Julian Seward
244a20c3ed Fix regression on none/tests/faultstatus caused by r8522.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8547
2008-08-25 12:10:14 +00:00
Julian Seward
207c05fd20 Rework storage management in the Dwarf3 type and variable reader, to
try and reduce its space consumption.  This change changes some long
linked lists into XArrays instead.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8540
2008-08-22 23:18:02 +00:00
Julian Seward
6136f591ba Try and bit a bit more space-economical, by increasing the
average loading factor from 0.75 to 0.83, and by being more
careful in VG_(cloneXA).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8539
2008-08-22 23:16:06 +00:00
Julian Seward
4040072a3a Make the absolute bare minimum changes needed to stop the Dwarf3
variable & type reader dying on gcc-4.3.x produced Dwarf3.  This is
done by handling DW_TAG_class_type and treating it the same as
DW_TAG_structure_type.  I don't know if this is really correct or not.

This reader is still grossly inefficient in terms of space use, and
could be majorly improved, by storing information in arrays rather
than in linked lists with (sometimes) more than 5 million elements.
But this will have to wait.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8534
2008-08-20 08:14:07 +00:00
Julian Seward
d014010217 Fix RPM/spec build. (Daniel J Blueman)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8526
2008-08-19 09:52:10 +00:00
Julian Seward
9d24c252e1 Make VG_(addToXA) and VG_(addBytesToXA) 64-bit clean.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8525
2008-08-19 08:57:49 +00:00
Julian Seward
27b2106884 Move the WordFM (AVL trees of UWord-pairs) implementation from
helgrind/ into the core.  It's just too darn useful to not be in the
core.  There is some overlap in functionality between OSet and WordFM,
but OSet is more space efficient in some circumstances, whereas WordFM
is easier to use and a bit more flexible in some cases.

Also in this new module (m_wordfm) is a type WordBag, build on top of
WordFM.  This provides Multiset of UWords functionality.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8524
2008-08-19 08:38:52 +00:00
Julian Seward
3a6645146d Tidy up VG_(stat) usage in VG_(check_executable). Followup to r8522.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8523
2008-08-19 08:32:03 +00:00
Julian Seward
e5150447d7 Presently, Valgrind (non-client) code that wants to use the stat
family of syscalls is impossible to write in a way that's portable and
correct.  On some targets (eg x86-linux) you need to do sys_stat64 and
receive the results in a 'struct vki_stat64'.  But on other targets
(eg amd64-linux) neither sys_stat64 nor 'struct vki_stat64' exist.

This commit adds a new type, 'struct vg_stat', which contains 64 bit
fields in all the right places, and makes VG_(stat) and VG_(fstat) use
it.  This means callers to the two functions no longer need to worry
about the is-it-64-bit-clean-or-not question, since these routines
reformat the received data into a'struct vg_stat'.  Kind of like what
glibc must have been doing for decades.

This (indirectly) fixes a bug on x86-linux, in which m_debuginfo would
sometimes fail to read debug info, due to VG_(di_notify_mmap) using
VG_(stat) (hence sys_stat) on the file, which failed, and when in fact
it should have used sys_stat64.  Bug reported and tracked down by
Marc-Oliver Straub.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8522
2008-08-19 07:03:04 +00:00
Julian Seward
811f102388 The address space manager, and in particular the NSegment type,
hardwire the assumption that an inode number is a UWord, that is, a
host word.  There's no reason for that assumption to be valid; an
inode number could be a 64-bit int even on a 32 bit platform (eg w.r.t
sys_stat64).  This commit changes inode numbers and, for good measure,
dev numbers, to be 64-bit regardless.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8521
2008-08-18 21:47:11 +00:00
Julian Seward
bf836b421d Handle new IR ops Iop_RoundF64toF64_*.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8520
2008-08-08 08:38:23 +00:00
Julian Seward
832a3d400b Tidy up the wrappers for pread64 and pwrite64, and make these two
syscalls available on ppc64-linux.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8519
2008-08-07 20:29:55 +00:00
Bart Van Assche
9f0a270afc Added yet another Qt4 suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8503
2008-08-02 10:03:37 +00:00
Bart Van Assche
43336d6753 Ensured that the qt4 regression tests compile with the pkg-config flags on all platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8502
2008-08-02 09:28:39 +00:00
Bart Van Assche
f14fc40bda Qt4 detection test is now based on pkg-config. Qt4 QMutex::tryLock(int) test now uses proper Qt4 compiler flags.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8501
2008-08-02 09:08:17 +00:00
Bart Van Assche
1573129126 Un-break configure test for clock_gettime().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8477
2008-07-29 17:54:49 +00:00
Bart Van Assche
6ccef7fec7 Removed duplicate volatile keyword such that the compiler does no longer print a warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8476
2008-07-29 17:04:31 +00:00
Bart Van Assche
a63fcb8d13 Switched from ANSI C stdio to Unix I/O in order to avoid that the I/O statements trigger any locking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8475
2008-07-29 16:57:06 +00:00
Bart Van Assche
d968df6a0a Compiles now with old versions of <sys/epoll.h> too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8474
2008-07-29 16:28:36 +00:00
Bart Van Assche
d3f0a0bb4e Updated Makefile.am.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8473
2008-07-29 15:27:48 +00:00
Bart Van Assche
9b1edca951 Removed duplicate expected output file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8472
2008-07-29 15:21:17 +00:00
Bart Van Assche
46b231550a Added suppression pattern for Qt4.0/4.1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8471
2008-07-29 13:01:16 +00:00
Bart Van Assche
21ee007a7a Added expected output for comiler versions without support for built-in atomic operations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8470
2008-07-29 12:06:57 +00:00
Julian Seward
e448622e08 Add a followup comment to the changes in r8454, which made memcheck's
client realloc function use an always-move strategy.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8469
2008-07-29 09:44:52 +00:00
Bart Van Assche
5114b9be41 Attempted to make DRD documentation compatible with pdfxmltex. Added note about g_thread_init().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8465
2008-07-28 14:55:38 +00:00
Bart Van Assche
d5779b517d Sorted noinst_HEADERS filenames alphabetically.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8464
2008-07-28 12:03:53 +00:00
Bart Van Assche
2abff40dcf Reverted commit 8448.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8463
2008-07-28 11:36:11 +00:00
Bart Van Assche
1ed795a567 Added configure test for QMutex::tryLock(int).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8462
2008-07-28 11:35:10 +00:00
Bart Van Assche
a7b318e4b6 Fixed race condition.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8461
2008-07-28 11:23:38 +00:00
Julian Seward
361057f5dc Include inlined C files in tarball, else it's not buildable.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8457
2008-07-23 20:08:41 +00:00
Julian Seward
8229b6e429 Temporarily comment out a couple of XML fragments which cause the .pdf
generation (make print-docs), and hence make dist, to fail for
completely non-obvious reasons, even though xsltproc (make html-docs)
does not complain about them.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8455
2008-07-22 18:32:29 +00:00
Julian Seward
ed20eaa97a Change memcheck's (client) realloc implementation so that it copies
and moves the block even when the new size is smaller or the same.
This increases the chance that it can detect buggy code which assumes
that realloc-smaller doesn't cause the block to move.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8454
2008-07-22 18:23:16 +00:00
Julian Seward
8204098c5e * handle sys_getprocs64 on ppc32-aix5
* handle sys_uname properly on ppc{32,64}-aix5



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8451
2008-07-22 10:01:25 +00:00
Julian Seward
ba8c821703 Origin-tracking fix: make sure that we have a shadow-origin (B)
temporary defined for every (original) temp used in the block's IR
preamble, as is already done of the shadow-definedness (V)
temporaries.  Otherwise we can end up generating references to B
temporaries that have no assigned value, which causes the IR sanity
checker to complain.  Only observed (and even then rarely) on the
complex preambles sometimes used for TOC-afflicted platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8450
2008-07-22 09:59:48 +00:00
Julian Seward
84747b6cc6 Temporarily disable Qt4-related tests, as they don't build on systems
with qt-4.2.1 at least.  It appears the type of QMutex::tryLock has 
changed somewhere after qt-4.2.1.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8448
2008-07-18 21:03:11 +00:00