12102 Commits

Author SHA1 Message Date
Florian Krohm
a8a0c4bcce Add copyright/license comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15672
2015-09-22 07:21:50 +00:00
Florian Krohm
2b628c20a2 Update TODO list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15671
2015-09-22 07:04:25 +00:00
Florian Krohm
079e74fe78 Break a few overly long lines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15670
2015-09-22 07:03:38 +00:00
Florian Krohm
c332279b5c Fix up a few comments.
Patch by Jean Delvare <jdelvare@suse.de>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15657
2015-09-20 13:42:06 +00:00
Florian Krohm
0d5f723bec Followup to r14908 (BZ #342603).
Comparing the command byte with VKI_I2C_SMBUS_QUICK is like comparing
apples to carrots, it makes no sense. The command byte is unused for
quick transactions anyway so checking its value is pointless.
Patch by Jean Delvare <jdelvare@suse.de>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15656
2015-09-20 13:41:25 +00:00
Florian Krohm
4a999cf4a2 Followup to r14908 (BZ #342603).
The first byte of the data array holds the length, so the actual data
length is the value of that byte plus one.
Patch by Jean Delvare <jdelvare@suse.de>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15655
2015-09-20 13:40:47 +00:00
Mark Wielaard
9ebcef0b66 Filter out glibc warning messages about unexpected futex results in tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15654
2015-09-18 09:15:15 +00:00
Carl Love
7161ebc00f Add Power PC ISA check to the vbit-test
The support for the Valgrind Iops is dependent on the Power processor
support for various instructions.  The instructions supported by a
given Power processor is based on the version of the ISA.  The patch
add a check to the vbit-test to ensure it does not try to test an Iop
that generates an instruction on the host that is not supported.

This patch fixes bugzilla 352765.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15653
2015-09-16 23:33:40 +00:00
Florian Krohm
e45be516ed Pick up 'egrep' and 'strings' from $PATH instead of using
hardwired absolute path names. People can always arrange $PATH
such that these tools are found.
Fixes BZ #294065. Patch by Austin English <austinenglish@gmail.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15652
2015-09-16 08:59:03 +00:00
Florian Krohm
b41e80f228 Do not compile with -Wcast-align on arm. There are too many
warnings due to GCC being very conservative. 


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15651
2015-09-14 21:11:32 +00:00
Florian Krohm
aadfe81d7e Fix various compiler warnings for the arm architecture.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15650
2015-09-13 20:27:17 +00:00
Rhys Kidd
c48c36cf86 Re-enable formerly hanging regression test on OS X.
Related to bz#350359 and vex: r3184.

On OS X 10.10

Before:

== 595 tests, 215 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

After:

== 596 tests, 215 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15649
2015-09-12 06:12:27 +00:00
Florian Krohm
e461afdad3 Avoid compiler warning about uninitialised variable.
Observed with gcc 5.1


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15648
2015-09-10 12:15:16 +00:00
Mark Wielaard
49bda785c6 libvex_test: Use arm64_[di]MinLine_lg2_szB values that make libvex happy.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15647
2015-09-09 13:40:23 +00:00
Julian Seward
43f0bfc6be Update for Fedora 21 and 22.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15645
2015-09-08 12:53:49 +00:00
Florian Krohm
b911481ec4 Announce fix for BZ #352284. See VEX r3186
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15642
2015-09-08 06:27:50 +00:00
Mark Wielaard
2eb8270862 Make distcheck happy. Fix srcdir != builddir in none/tests/tilegx.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15641
2015-09-08 06:17:28 +00:00
Julian Seward
944183cb69 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15640
2015-09-07 20:00:05 +00:00
Julian Seward
30b07b5686 Make sure the result value of count_from_Status is defined.
Fixes #330147.  [Unverified!]


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15639
2015-09-07 19:40:20 +00:00
Florian Krohm
71246132f3 Update due to r13991.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15638
2015-09-07 19:21:54 +00:00
Josef Weidendorfer
b47baba217 Rephrase Callgrind manual about limiting event aggregation
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15637
2015-09-07 10:23:58 +00:00
Julian Seward
d919a2543f Always use posix_memalign on OS X for consistency. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15636
2015-09-07 08:20:45 +00:00
Florian Krohm
10763fcbf7 Update list of ignored files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15635
2015-09-06 20:56:13 +00:00
Philippe Waroquiers
ee805401ce Add a basic test for xb memcheck monitor command
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15634
2015-09-06 13:39:13 +00:00
Julian Seward
515b7fe0b3 Bug 342008 - valgrind.h needs type cast for _zzq_default to compile with clang/llvm in 64-bit mode.
(arm64, that is)
Patch from chh@google.com.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15633
2015-09-06 13:10:22 +00:00
Florian Krohm
1dc171f490 Strange segments in /proc/self/maps have been observed in the field.
Namely those with a file name and an inode number but without major
and minor device numbers. See for instance https://bugs.kde.org/124528#c11
This patch also recognises segments with a file name as FileV segments
(which is what valgrind used to do prior to r5818).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15632
2015-09-05 21:27:58 +00:00
Florian Krohm
97b615cff6 Avoid warnings about deprecated unescaped curly brackets in regular
expressions. Happens with perl 5.22 and newer.
Patch by Matthias Schwarzott <zzam@gentoo.org>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15631
2015-09-05 21:19:11 +00:00
Mark Wielaard
887805da64 Correct expected output of tc18 and tc20 helgrind tests.
The addition if the safe wrapper in r15620 introduced an extra
output frame in the backtrace of helgrind/tests/tc18_semabuse and
helgrind/tests/tc20_verifywrap.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15630
2015-09-05 20:45:04 +00:00
Florian Krohm
93504b89c4 Changes related to new IROp Iop_RoundF128toInt. See VEX r3183.
s390: Add testcase for fixbr.
Patch by Andreas Arnez <arnez@linux.vnet.ibm.com>.
Part of fixing BZ #350290.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15629
2015-09-05 20:39:27 +00:00
Florian Krohm
43981d85f5 Do not compile ansi.c with clang as that compiler does not
recognise the -ansi command line option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15628
2015-09-05 08:41:32 +00:00
Florian Krohm
3a81a4983f Add callgrind.h
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15627
2015-09-05 08:40:43 +00:00
Florian Krohm
dc4ab3f5b6 Update line number as a result of r15624.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15626
2015-09-05 07:47:49 +00:00
Mark Wielaard
758fab675c Fix bug #339636 Use fxsave64 and fxrstor64 mnemonics again.
Just add a configure check to see if the assembler understands
fxsave64/fxrstor64 and fall back to the old-school rex64 prefix
otherwise.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15625
2015-09-04 21:52:52 +00:00
Florian Krohm
d60a01a6bd Add an assert.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15624
2015-09-04 20:54:34 +00:00
Florian Krohm
38aa18c184 To test extended BFP opcodes we need sizeof(long double) == 16.
Certain old versions of GCC don't have that as default. So we must
give -mlong-double-128 on the command line.
Pertains to BZ #352183.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15623
2015-09-04 20:52:20 +00:00
Mark Wielaard
cc9d412d2d Bug #352130 helgrind reports false races for printfs using mempcpy
Add a new Race suppression.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15622
2015-09-04 10:52:01 +00:00
Mark Wielaard
42b1670864 Update COPYING and COPYING.DOCS with new FSF address.
Copied latest GPLv2 and GFDLv1.2 files from gnulib.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15621
2015-09-04 10:21:38 +00:00
Mark Wielaard
235c116f2d Add safe sem_post handler and glibc-2.21 expected output for helgrind tests.
This fixes the tc18 and tc20 testcases.

On some bad semaphores glibc now might just abort, we catch the SIGABRT
and turn it into a EINVAL. The program will see this, but the helgrind
wrapper won't. Which works for tc18 since there is an alternate exp file
with that result (silent bad sem_post). We add a similar alternative exp
file for tc21.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15620
2015-09-04 09:41:42 +00:00
Rhys Kidd
b1631e4c8e Fix UNKNOWN fcntl 97 on OS X 10.11
bz#351632

On OS X 10.11 (DP8)

Before:

== 595 tests, 575 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

After:

== 595 tests, 219 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15619
2015-09-03 11:31:58 +00:00
Philippe Waroquiers
c5dd149b60 - The default value for --leak-check-heuristics has been changed from
"none" to "all". This helps to reduce the number of possibly
  lost blocks, in particular for C++ applications.
 


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15618
2015-09-02 21:57:53 +00:00
Philippe Waroquiers
0307c6dcaa Enhance block_list memcheck gdbserver monitor command
Due to the (still to be done) default activation of --leak-check-heuristics=all,
improve the block_list monitor command for easier display of blocks
found reachable via heuristics.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15617
2015-09-02 21:26:34 +00:00
Florian Krohm
d0cf6ac4fa Suppress unwanted clang 3.7 warnings.
Fix undefined behaviour in perf/tinycc.c


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15616
2015-09-02 15:47:33 +00:00
Mark Wielaard
b4d7d70d2a Bug 351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15615
2015-09-02 15:43:31 +00:00
Julian Seward
d60f46535c Add missing copyright notices for Xen related files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15614
2015-09-01 13:32:21 +00:00
Ivo Raisr
740867d1d9 Document that --read-inline-info=yes is the default
even on Solaris for Memcheck, Helgrind and DRD.
n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15613
2015-09-01 11:51:16 +00:00
Julian Seward
ade6e87e05 Remove redundant bit of text introduced in r15604.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15612
2015-09-01 08:50:12 +00:00
Julian Seward
b18e81a7af Rename the new option --expensive-definedness-check introduced in
r15594 to --expensive-definedness-checks.  (Pluralised it, iow.)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15611
2015-09-01 08:48:04 +00:00
Florian Krohm
5323c08c75 clang miscompiles faultstatus.c function test5().
First it choses %eax as the 1st operand of the bound insn.
Then it complains that %eax is invalid.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15610
2015-08-31 22:26:03 +00:00
Philippe Waroquiers
2b72e87dcb Small additional change in NEWS for block_list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15609
2015-08-31 22:15:40 +00:00
Philippe Waroquiers
80ada53b12 Have block_list showing heuristic used for a block (if block was
found via an heuristic)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15608
2015-08-31 22:08:47 +00:00