]>
git.ipfire.org Git - thirdparty/valgrind.git/log
Julian Seward [Mon, 21 Sep 2015 09:44:59 +0000 (09:44 +0000)]
Merge, from trunk, r15645 (Update doc build hints for Fedora 21 and 22.)
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_11_BRANCH@15658
Julian Seward [Wed, 9 Sep 2015 08:04:35 +0000 (08:04 +0000)]
--> 3.11.0.TEST1
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_11_BRANCH@15646
Julian Seward [Tue, 8 Sep 2015 12:53:49 +0000 (12:53 +0000)]
Update for Fedora 21 and 22.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15645
Julian Seward [Tue, 8 Sep 2015 10:12:54 +0000 (10:12 +0000)]
Swizzle external.
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_11_BRANCH@15644
Julian Seward [Tue, 8 Sep 2015 10:11:27 +0000 (10:11 +0000)]
Create VALGRIND_3_11_BRANCH as a copy of trunk r15642.
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_11_BRANCH@15643
Florian Krohm [Tue, 8 Sep 2015 06:27:50 +0000 (06:27 +0000)]
Announce fix for BZ #352284. See VEX r3186
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15642
Mark Wielaard [Tue, 8 Sep 2015 06:17:28 +0000 (06:17 +0000)]
Make distcheck happy. Fix srcdir != builddir in none/tests/tilegx.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15641
Julian Seward [Mon, 7 Sep 2015 20:00:05 +0000 (20:00 +0000)]
Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15640
Julian Seward [Mon, 7 Sep 2015 19:40:20 +0000 (19:40 +0000)]
Make sure the result value of count_from_Status is defined.
Fixes #330147. [Unverified!]
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15639
Florian Krohm [Mon, 7 Sep 2015 19:21:54 +0000 (19:21 +0000)]
Update due to r13991.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15638
Josef Weidendorfer [Mon, 7 Sep 2015 10:23:58 +0000 (10:23 +0000)]
Rephrase Callgrind manual about limiting event aggregation
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15637
Julian Seward [Mon, 7 Sep 2015 08:20:45 +0000 (08:20 +0000)]
Always use posix_memalign on OS X for consistency. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15636
Florian Krohm [Sun, 6 Sep 2015 20:56:13 +0000 (20:56 +0000)]
Update list of ignored files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15635
Philippe Waroquiers [Sun, 6 Sep 2015 13:39:13 +0000 (13:39 +0000)]
Add a basic test for xb memcheck monitor command
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15634
Julian Seward [Sun, 6 Sep 2015 13:10:22 +0000 (13:10 +0000)]
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
Florian Krohm [Sat, 5 Sep 2015 21:27:58 +0000 (21:27 +0000)]
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
Florian Krohm [Sat, 5 Sep 2015 21:19:11 +0000 (21:19 +0000)]
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
Mark Wielaard [Sat, 5 Sep 2015 20:45:04 +0000 (20:45 +0000)]
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
Florian Krohm [Sat, 5 Sep 2015 20:39:27 +0000 (20:39 +0000)]
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
Florian Krohm [Sat, 5 Sep 2015 08:41:32 +0000 (08:41 +0000)]
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
Florian Krohm [Sat, 5 Sep 2015 08:40:43 +0000 (08:40 +0000)]
Add callgrind.h
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15627
Florian Krohm [Sat, 5 Sep 2015 07:47:49 +0000 (07:47 +0000)]
Update line number as a result of r15624.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15626
Mark Wielaard [Fri, 4 Sep 2015 21:52:52 +0000 (21:52 +0000)]
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
Florian Krohm [Fri, 4 Sep 2015 20:54:34 +0000 (20:54 +0000)]
Add an assert.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15624
Florian Krohm [Fri, 4 Sep 2015 20:52:20 +0000 (20:52 +0000)]
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
Mark Wielaard [Fri, 4 Sep 2015 10:52:01 +0000 (10:52 +0000)]
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
Mark Wielaard [Fri, 4 Sep 2015 10:21:38 +0000 (10:21 +0000)]
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
Mark Wielaard [Fri, 4 Sep 2015 09:41:42 +0000 (09:41 +0000)]
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
Rhys Kidd [Thu, 3 Sep 2015 11:31:58 +0000 (11:31 +0000)]
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
Philippe Waroquiers [Wed, 2 Sep 2015 21:57:53 +0000 (21:57 +0000)]
- 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
Philippe Waroquiers [Wed, 2 Sep 2015 21:26:34 +0000 (21:26 +0000)]
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
Florian Krohm [Wed, 2 Sep 2015 15:47:33 +0000 (15:47 +0000)]
Suppress unwanted clang 3.7 warnings.
Fix undefined behaviour in perf/tinycc.c
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15616
Mark Wielaard [Wed, 2 Sep 2015 15:43:31 +0000 (15:43 +0000)]
Bug 351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15615
Julian Seward [Tue, 1 Sep 2015 13:32:21 +0000 (13:32 +0000)]
Add missing copyright notices for Xen related files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15614
Ivo Raisr [Tue, 1 Sep 2015 11:51:16 +0000 (11:51 +0000)]
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
Julian Seward [Tue, 1 Sep 2015 08:50:12 +0000 (08:50 +0000)]
Remove redundant bit of text introduced in r15604.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15612
Julian Seward [Tue, 1 Sep 2015 08:48:04 +0000 (08:48 +0000)]
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
Florian Krohm [Mon, 31 Aug 2015 22:26:03 +0000 (22:26 +0000)]
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
Philippe Waroquiers [Mon, 31 Aug 2015 22:15:40 +0000 (22:15 +0000)]
Small additional change in NEWS for block_list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15609
Philippe Waroquiers [Mon, 31 Aug 2015 22:08:47 +0000 (22:08 +0000)]
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
Ivo Raisr [Mon, 31 Aug 2015 21:31:09 +0000 (21:31 +0000)]
Add support for ldsoexec on Solaris.
Solaris runtime linker allows to run dynamically linked programs indirectly, as:
ld.so.1 <dynamic_executable>
This is now possible under Valgrind as well.
Fixes BZ#351858.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15607
Florian Krohm [Mon, 31 Aug 2015 21:18:18 +0000 (21:18 +0000)]
Ensure the testcase compiles with clang.
clang up to and including 3.6.2 does not recognise the fxsave64
and fxrstor64 mnemonics. It does recognise rex64/fxsave etc..
Related to BZ #339636.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15606
Florian Krohm [Mon, 31 Aug 2015 20:33:36 +0000 (20:33 +0000)]
Comment out unused functions to avoid clang warnings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15605
Julian Seward [Mon, 31 Aug 2015 15:33:17 +0000 (15:33 +0000)]
Note changed command line option defaults.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15604
Julian Seward [Mon, 31 Aug 2015 14:37:25 +0000 (14:37 +0000)]
Change the default setting for --dsymutil from =no to =yes, since
in practice it needs to be permanently enabled on OS X. No change
on other platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15603
Julian Seward [Mon, 31 Aug 2015 14:24:14 +0000 (14:24 +0000)]
Revisit r15601 (Change the --smc-check default value to =all-non-file.)
to restrict the change to those architectures that do provide automatic
D-I coherence (x86, amd64, s390x). This commit restores the default
value for all other architectures back to its pre r15601 state, so as not
to burden those architectures unnecessarily with =all-non-file.
Also, this rewrites the relevant manual section.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15602
Julian Seward [Mon, 31 Aug 2015 13:05:35 +0000 (13:05 +0000)]
Change the --smc-check default value to =all-non-file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15601
Julian Seward [Mon, 31 Aug 2015 10:36:02 +0000 (10:36 +0000)]
Make --partial-loads-ok=yes the default on all platforms, not just OS X.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15600
Philippe Waroquiers [Sun, 30 Aug 2015 15:44:07 +0000 (15:44 +0000)]
use verbosity 1 to report multiple termination of gdbserver,
this can happen e.g. in case of irrecoverable execve failure.
This log was making tests fail randomly: the double termination
can only occur if gdbsrv was initialised.
After fork, gdbsrv is initialised by the next scheduler gdbsrv
activity check (by default, every 5000 blocks).
As a double termination has no effect, switch the trace to level 1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15599
Philippe Waroquiers [Sat, 29 Aug 2015 12:14:42 +0000 (12:14 +0000)]
Small updates in NEWS
* Now that gdb 7.10 is out, reference the release for target remote exec file
* fix typo
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15598
Philippe Waroquiers [Sat, 29 Aug 2015 10:45:26 +0000 (10:45 +0000)]
Change default value for --keep-stacktraces has been changed to alloc-and-free
Default value changed following discussion on valdev.
Giving more information for errors with freed blocks can help
when investigating difficult problems (e.g. double free, programs
using 'cleanup list' collecting different types of memory, ...)
Regression tested on various setup (x86, ppc64, s390x, amd64, debian or fedora)
Tests that have only one exp files have been updated to use the output
of the new default value in their .exp file.
Tests having more than one exp file have been changed so as to
specify explicitely the previous clo default value (i.e. adding
--keep-stacktraces=alloc-then-free in the vgtest file).
Possibly, some tests might fail on non tested platforms
(e.g. mips, macos, solaris, tilegx).
Fixes should be straightforward, using one of the above fix techniques.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15597
Rhys Kidd [Sat, 29 Aug 2015 07:42:40 +0000 (07:42 +0000)]
Intercept platform_memchr$VARIANT$Haswell on OS X
bz#351756
On OS X 10.10 (without Haswell hardware)
Before:
== 595 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 595 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15596
Florian Krohm [Thu, 27 Aug 2015 17:56:56 +0000 (17:56 +0000)]
Announce new command line option.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15595
Florian Krohm [Thu, 27 Aug 2015 17:50:47 +0000 (17:50 +0000)]
New memcheck command line option: --expensive-definedness-check
Pertains to BZ #340392
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15594
Julian Seward [Thu, 27 Aug 2015 12:43:32 +0000 (12:43 +0000)]
First pass at tidying up the release notes for 3.11.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15593
Florian Krohm [Wed, 26 Aug 2015 20:24:47 +0000 (20:24 +0000)]
Support
envB: var=value
in the .vgtest file. This is similar to "env:" except the environment
variable is set prior to invoking progB.
Adapt gdbserver_tests/nlgone_exit.vgtest to fix a problem reported
by Matthias Schwarzott <zzam@gentoo.org>
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15592
Mark Wielaard [Wed, 26 Aug 2015 10:27:19 +0000 (10:27 +0000)]
Filter out gdb file transfer warnings in gdbserver_tests/filter_stderr.
GDB is correct that we don't support that at the moment.
See bug #351792 - vgdb doesn't support remote file transfers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15591
Philippe Waroquiers [Tue, 25 Aug 2015 21:39:44 +0000 (21:39 +0000)]
Fix a leak of the abbrev hash table when --read-var-info=yes is given
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15590
Mark Wielaard [Tue, 25 Aug 2015 13:07:42 +0000 (13:07 +0000)]
Add safe-pthread.h to helgrind/tests/Makefile.am noinst_HEADERS.
Otherwise the header file won't show up in the dist tar ball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15589
Tom Hughes [Mon, 24 Aug 2015 19:26:56 +0000 (19:26 +0000)]
Use sigjmp_buf
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15588
Tom Hughes [Mon, 24 Aug 2015 19:10:06 +0000 (19:10 +0000)]
Restore signal masks when recovering from xend related signals
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15587
Philippe Waroquiers [Sun, 23 Aug 2015 16:57:55 +0000 (16:57 +0000)]
Use memset + assign to VgdbShared, to avoid memcheck warning that
uninit holes bytes are written to the shared file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15586
Rhys Kidd [Sun, 23 Aug 2015 14:37:47 +0000 (14:37 +0000)]
docs: env variable handling behaviour consistent between OS X and Linux, thus remove redundant comment and #ifdef. n-i-bz.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15585
Rhys Kidd [Sun, 23 Aug 2015 08:27:45 +0000 (08:27 +0000)]
Preliminary support for OS X 10.11 (El Capitan) documentation. bz#348909.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15584
Ivo Raisr [Sat, 22 Aug 2015 22:08:43 +0000 (22:08 +0000)]
Distinguish properly when to establish the client data segment.
Initial data segment is established (see initimg-solaris.c for rationale):
- directly during client program image initialization,
- or on demand when the executed program is the runtime linker itself,
after it has loaded its target dynamic executable (see PRE(sys_mmapobj)),
or when the first brk() syscall is made.
More preparatory work for ldsoexec support.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15583
Philippe Waroquiers [Fri, 21 Aug 2015 22:34:53 +0000 (22:34 +0000)]
Fix warning signed unsigned comparison in m_oset.c :
../../coregrind/m_oset.c:413:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15582
Philippe Waroquiers [Fri, 21 Aug 2015 22:22:27 +0000 (22:22 +0000)]
Use VG_(arena_memalign) for thread array rather than VG_(malloc)-ed + align
Objective is to avoid a 'possibly lost' leak when self-hosting
(and re-uses the already existing align logic in m_mallocfree.c)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15581
Julian Seward [Fri, 21 Aug 2015 14:49:47 +0000 (14:49 +0000)]
Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15580
Julian Seward [Fri, 21 Aug 2015 13:43:07 +0000 (13:43 +0000)]
Bug 346185 - Fix typo saving altivec register v24.
Patch from Dave Lerner (david.lerner26@sbcglobal.net).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15579
Julian Seward [Fri, 21 Aug 2015 13:38:02 +0000 (13:38 +0000)]
More copyright date changes for 2015 (fallout from r15577)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15578
Julian Seward [Fri, 21 Aug 2015 11:32:26 +0000 (11:32 +0000)]
Update copyright dates, to include 2015. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577
Julian Seward [Fri, 21 Aug 2015 11:04:48 +0000 (11:04 +0000)]
Remove non-ASCII characters from this file. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15576
Julian Seward [Fri, 21 Aug 2015 10:53:32 +0000 (10:53 +0000)]
Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15575
Florian Krohm [Thu, 20 Aug 2015 22:45:41 +0000 (22:45 +0000)]
When scanning the statement list for bogus literals we
can stop once the first such literal was found. No need
to scan further.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15574
Florian Krohm [Thu, 20 Aug 2015 21:41:28 +0000 (21:41 +0000)]
Fix incorrect header guard. Reported by giacomopoz@gmail.com
Fixes BZ #351531
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15573
Ivo Raisr [Thu, 20 Aug 2015 20:25:19 +0000 (20:25 +0000)]
Initial data (brk) segment is setup on demand, when a first brk() syscall
is made. It cannot be established during client image initialization because
that would conflict with a temporary stack which ld.so.1 (when executed directly)
uses for loading the target dynamic executable.
See PRE(sys_brk) in syswrap-solaris.c.
Preparatory work for ldsoexec support.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15572
Ivo Raisr [Thu, 20 Aug 2015 05:50:49 +0000 (05:50 +0000)]
Follow-up fix for r15565.
Expected output of some helgrind tests slightly differed on Solaris.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15571
Mark Wielaard [Wed, 19 Aug 2015 13:26:28 +0000 (13:26 +0000)]
Also install sigsegv handler in safe-pthread tests wrapper.
In case we do recognize the xend, but detect it is invalid
(used outside a transaction) we generate a segsegv instead
of a sigill. Handle that in the same way in the test case.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15570
Rhys Kidd [Wed, 19 Aug 2015 12:18:31 +0000 (12:18 +0000)]
Follow-up fix for r15565: sa_restorer should not be used. n-i-bz.
It is obsolete and not specified by POSIX. See man sigaction on Linux.
No regressions reported.
The following error may be seen on platforms that don't implement this extension:
depbase=`echo tc12_rwl_trivial.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1 -DVGA_SEC_x86=1 -DVGP_SEC_amd64_darwin=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -Wno-format-extra-args -Wno-literal-range -Wno-tautological-constant-out-of-range-compare -Wno-self-assign -Wno-string-plus-int -Wno-uninitialized -Wno-unused-value -arch x86_64 -MT tc12_rwl_trivial.o -MD -MP -MF $depbase.Tpo -c -o tc12_rwl_trivial.o tc12_rwl_trivial.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from tc12_rwl_trivial.c:8:
./safe-pthread.h:37:7: error: no member named 'sa_restorer' in 'struct sigaction'
sa.sa_restorer = NULL;
~~ ^
1 error generated.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15569
Florian Krohm [Wed, 19 Aug 2015 10:09:08 +0000 (10:09 +0000)]
Fix comparison in function VG_(iseqsigset).
Patch by dcb314@hotmail.com
Fixes BZ #351474.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15568
Tom Hughes [Wed, 19 Aug 2015 08:27:06 +0000 (08:27 +0000)]
Install the SIGILL handler everywhere so we get consistent
stacks and don't have to worry about __GLIBC_PREREQ not being
defined on all platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15567
Mark Wielaard [Tue, 18 Aug 2015 14:34:49 +0000 (14:34 +0000)]
Handle (unwanted) line number info in filter_defcfaexpr.
This is just a testsuite cleanup. In the case defcfaexpr was compiled
with line number information (which might happen in some distro builds)
just throw it away because the expected output just wants to see the
function names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15566
Tom Hughes [Tue, 18 Aug 2015 10:29:20 +0000 (10:29 +0000)]
Attempt to work around issues with xend being executed unconditionally
when a pthread_rwlock is used in an invalid way.
Recent glibcs use transactional memory instructions to do lock ellision
but will sometimes, when locks are used in an invalid way, may calls to
xend on systems which don't support it, on the grounds that the program
is invalid anyway.
So we try and catch and ignore the resulting SIGILL in our tests that
deliberately work with invalid locks.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15565
Julian Seward [Tue, 18 Aug 2015 07:54:22 +0000 (07:54 +0000)]
Fix a second format string error observed whilst building on OSX 10.10.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15564
Julian Seward [Mon, 17 Aug 2015 21:19:19 +0000 (21:19 +0000)]
Fix a format string error observed whilst building on OSX 10.10.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15563
Ivo Raisr [Mon, 17 Aug 2015 19:13:12 +0000 (19:13 +0000)]
Runtime linker ld.so.1 can be now run under Valgrind on Solaris.
Fixes BZ#351386.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15562
Mark Wielaard [Mon, 17 Aug 2015 15:18:02 +0000 (15:18 +0000)]
Add bug338606 testfile to none/tests/scripts/Makefile.am EXTRA_DIST.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15561
Julian Seward [Mon, 17 Aug 2015 14:03:16 +0000 (14:03 +0000)]
Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15560
Julian Seward [Mon, 17 Aug 2015 08:23:31 +0000 (08:23 +0000)]
Add test cases for VCVT.{S,U}32.F32, S[n], S[n], #imm.
Pertains to #342783.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15559
Julian Seward [Sun, 16 Aug 2015 17:23:50 +0000 (17:23 +0000)]
arm32: make sure we actually generate real 64-bit loads/stores for the
64 bit tests, rather than two 32 bit transactions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15558
Julian Seward [Sun, 16 Aug 2015 12:18:26 +0000 (12:18 +0000)]
Enable building of ARMv8 crypto instruction tests, having finally
figured out what the relevant gcc flag is.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15557
Julian Seward [Sun, 16 Aug 2015 11:54:38 +0000 (11:54 +0000)]
Fix format string confusion that was somehow related to r15510.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15556
Julian Seward [Sun, 16 Aug 2015 11:46:16 +0000 (11:46 +0000)]
Add test cases for PRFM (register). Pertains to #345177.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15555
Ivo Raisr [Sat, 15 Aug 2015 19:51:35 +0000 (19:51 +0000)]
Update script solaris/build_solaris_package to take into account
SVN version control software used by Valgrind.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15554
Rhys Kidd [Sat, 15 Aug 2015 12:21:42 +0000 (12:21 +0000)]
Increase test coverage on OS X, by re-enabling the none/tests/amd64/avx2-1 regression test.
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest none/tests/amd64/avx2-1
avx2-1: (skipping, prereq failed: test -x avx2-1 && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15553
Rhys Kidd [Sat, 15 Aug 2015 11:40:27 +0000 (11:40 +0000)]
Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15552
Rhys Kidd [Sat, 15 Aug 2015 11:16:35 +0000 (11:16 +0000)]
Increase test coverage on OS X, by re-enabling the memcheck/tests/amd64/xsave-avx regression tests with a handy memalign() shim.
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest memcheck/tests/amd64/xsave-avx
xsave-avx: (skipping, prereq failed: test -x xsave-avx && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15551
Rhys Kidd [Sat, 15 Aug 2015 11:04:02 +0000 (11:04 +0000)]
Increase test coverage on OS X, by re-enabling the none/tests/amd64/avx-1 regression tests with a handy memalign() shim.
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest none/tests/amd64/avx-1
avx-1: (skipping, prereq failed: test -x avx-1 && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15550
Rhys Kidd [Sat, 15 Aug 2015 10:47:55 +0000 (10:47 +0000)]
Increase test coverage on OS X, by re-enabling the none/tests/*/movbe regression tests with a handy memalign() shim.
n-i-bz
$ perl tests/vg_regtest none/tests/x86/movbe none/tests/amd64/movbe
movbe: valgrind -q ./movbe
movbe: valgrind -q ./movbe
== 2 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 592 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15549
Rhys Kidd [Sat, 15 Aug 2015 08:55:14 +0000 (08:55 +0000)]
Plumb through memalign16() rather than having four implementations of the same code. n-i-bz.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15548