Commit Graph

1227 Commits

Author SHA1 Message Date
Florian Krohm
23ab55606e Comment out unused functions to avoid clang warnings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15605
2015-08-31 20:33:36 +00:00
Julian Seward
0b063cb3c3 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
2015-08-31 14:37:25 +00:00
Julian Seward
6bf68780dc Change the --smc-check default value to =all-non-file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15601
2015-08-31 13:05:35 +00:00
Julian Seward
2d689f2ddc More copyright date changes for 2015 (fallout from r15577)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15578
2015-08-21 13:38:02 +00:00
Julian Seward
adc2dafee9 Update copyright dates, to include 2015. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577
2015-08-21 11:32:26 +00:00
Mark Wielaard
d66df29a90 Add bug338606 testfile to none/tests/scripts/Makefile.am EXTRA_DIST.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15561
2015-08-17 15:18:02 +00:00
Julian Seward
3e5636a4ca 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
2015-08-17 08:23:31 +00:00
Julian Seward
3953fe144c 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
2015-08-16 12:18:26 +00:00
Julian Seward
0f002eb44d Add test cases for PRFM (register). Pertains to #345177.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15555
2015-08-16 11:46:16 +00:00
Rhys Kidd
b6efb6f0be 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
2015-08-15 12:21:42 +00:00
Rhys Kidd
74d7f1cdfa 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
2015-08-15 11:40:27 +00:00
Rhys Kidd
be875fe3ac 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
2015-08-15 11:04:02 +00:00
Rhys Kidd
8a014b4f97 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
2015-08-15 10:47:55 +00:00
Rhys Kidd
17aa7a30f6 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
2015-08-15 08:55:14 +00:00
Rhys Kidd
c42c7b5dce Add regression test for bz#350062 - vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0xB (ROUNDSD) on OS X.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15546
2015-08-15 07:06:57 +00:00
Ivo Raisr
b66705c636 Newer Solaris has added /proc/self/cmdline and /proc/<pid>/cmdline.
Add support for it in the syswrap machinery and test it more thoroughly.
n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15545
2015-08-14 20:50:11 +00:00
Julian Seward
bda73f5b54 do_cmpxchg8b(): fix incorrect inline assembly (wrong register name)
and updated expected result.  n-i-bz.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15536
2015-08-13 14:46:10 +00:00
Julian Seward
19a7577acd Add test cases for PCMPxSTRx case 0x18.
Pertains to #348574, vex r3172.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15535
2015-08-13 14:19:48 +00:00
Julian Seward
1172cbc47a Add test cases for PCMPxSTRx case 0x42.
Pertains to #339820, vex r3171.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15534
2015-08-13 13:47:02 +00:00
Julian Seward
a6af6dabd9 Add test cases for missing AVX VCMPPD/VCMPPS cases.
Pertains to vex r3170.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15532
2015-08-13 12:42:28 +00:00
Florian Krohm
c39a983920 For those testcases that crash one way or another
remove any core files after running the test.
Patch by Matthias Schwarzott <zzam@gentoo.org>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15520
2015-08-11 20:58:15 +00:00
Florian Krohm
75381eec6e In filter_stderr_basic do not remove lines beginning with
--pid:
i.e. debug output. Asserts originating from the address space
manager look exactly like that and we do not want to filter those
out by default.
Remove some specialised filter scripts that are no longer needed
and update a few .vgtest files accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15519
2015-08-11 20:37:28 +00:00
Florian Krohm
249171e15c Fix another GCC 5.1 warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15512
2015-08-09 08:54:27 +00:00
Philippe Waroquiers
1a772817f0 Fix typo: add missing space between $(AM_CFLAGS) and @FLAG_FSANITIZE@
(spotted by Bart and Florian).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15496
2015-08-05 16:34:41 +00:00
Zhi-Gang Liu
d6bcccebc5 Let "make distclean" remove generated tilegx instruction test files
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15488
2015-08-05 02:38:10 +00:00
Zhi-Gang Liu
1e420d348c Fix issue of "make dist BUILD_ALL_DOCS=no"
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15487
2015-08-05 01:50:59 +00:00
Philippe Waroquiers
608058dcf9 Ensure libvex tests in none are compiling on amd64, when configuring for 32 bits only
Patch from Matthias Schwarzott



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15485
2015-08-04 19:25:53 +00:00
Zhi-Gang Liu
e49536db50 Fix the "make regtest" error caused by the new tilegx instruction tests
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15481
2015-08-04 04:59:41 +00:00
Rhys Kidd
3d205e0fb4 Guard two hanging tests on OS X 10.11, which otherwise prevent regression test suite from running in automated manner. n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15474
2015-08-03 00:44:01 +00:00
Ivo Raisr
9ac1832814 Check for Solaris specific program headers PT_SUNW_SYSSTAT and PT_SUNW_SYSSTAT_ZONE;
and act accordingly. Test cases provided. n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15469
2015-08-01 21:53:08 +00:00
Zhi-Gang Liu
93fd03ab35 Merge tilegx instruction test patch "valgrind-tilegx-instruction-test.patch"
in Bug 345921 - Add TileGX instruction set test in none/tests/tilegx
Submitted by Liming Sun, lsun@ezchip.com



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15466
2015-08-01 03:52:03 +00:00
Rhys Kidd
b21fcf35e9 Properly guard none/tests/amd64/avx-1. This resolves one failing regression test on OS X with modern hardware. n-i-bz.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15463
2015-07-31 13:06:14 +00:00
Florian Krohm
4dc43bea4d Fix testcase such that it can be run under cron on Solaris.
The tescase depends on SIGHUP to be delivered but cron on Solaris
ignored the signal. So it needs to be enabled in child processes
after fork.
Patch by Ivo Raisr <ivosh@ivosh.net>.  Fixes BZ #350809.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15462
2015-07-31 06:58:16 +00:00
Rhys Kidd
594601e8b5 Properly conditionalise these tests, now that they are guarded on certain combinations of operating system and compiler.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15446
2015-07-24 12:47:59 +00:00
Florian Krohm
021a3ef28b Remove command line options --db-attach and --db-command which were
deprecated in 3.10.0


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15445
2015-07-24 11:50:12 +00:00
Rhys Kidd
6a95af3f6a Resolve makefile consistency error at conclusion of make regtest
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15443
2015-07-23 06:21:07 +00:00
Rhys Kidd
15a0f32113 Complete fix for bz#344416 - Fix make regtest does not work cleanly on OS X (3).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15442
2015-07-23 05:49:13 +00:00
Rhys Kidd
5bd4c0d953 Partial fix for bz#344416 - Fix make regtest does not work cleanly on OS X (2).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15441
2015-07-23 05:33:31 +00:00
Rhys Kidd
e003dfb3b3 Partial fix for bz#344416 - Fix make regtest does not work cleanly on OS X.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15440
2015-07-23 05:04:36 +00:00
Florian Krohm
4977f5500b Add two more tests with missing interpreter names.
Consolidate 'nointerp' testcase file names.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15432
2015-07-21 22:05:07 +00:00
Florian Krohm
c5b5f7451a Add testcase. Should have been in r15429.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15431
2015-07-21 21:49:06 +00:00
Florian Krohm
128fe0d9c4 Fix BZ #338606. Basically, the bug was that it was believed that
the interpreter following the #! has to be an absolute path name.
Not so; relative path works just fine.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15429
2015-07-21 21:37:23 +00: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
Carl Love
059aa611c1 Patch 7 of 7, improve PPC HW capabiltiy checking.
The patch was submitted by Will Schmidt  (will_schmidt@vnet.ibm.com).

A handful of cosmetic changes to the ppc32 and ppc64 makefiles.
Cleans up some whitespace issues, spaces/tabs/etc,
Rearranges some of the contents so they are logically group, and
more consistent between the 32- and 64- bit versions of the same.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15425
2015-07-20 22:22:42 +00:00
Carl Love
aa85e04a41 Patch 4 and 5 of 7, improve PPC HW capabiltiy checking.
The patch was submitted by Will Schmidt  (will_schmidt@vnet.ibm.com).

Patches 4 and 5 need to be applied together.  Add convenience function
for processing hwcap entries. Add logic to check for HTM support in compiler.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15423
2015-07-20 21:25:32 +00:00
Carl Love
8c1cc04641 Patch 2 of 7, improve PPC HW capabiltiy checking.
The patch was submitted by Will Schmidt  (will_schmidt@vnet.ibm.com).

Update all vgtest files to reference the new capability check helper.
This includes a few adjustments to ensure the test is checking for
the specific capability. I.e. isa_2_07 is a requirement for htm, but
does not indicate htm support is actually present.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15421
2015-07-20 19:36:53 +00:00
Florian Krohm
68e854afe3 Fix syntax error;
Certain GCC versions do not accept empty clobber lists.
Patch by Andreas Arnez (arnez@linux.vnet.ibm.com). Part of 
fixing BZ #342841.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15409
2015-07-10 17:21:12 +00:00
Christian Borntraeger
b1b0ea7eae Fix from Andreas Arnez for bug 342841 s390x unrecognized instruction fiebra
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15406
2015-07-09 19:21:42 +00:00
Florian Krohm
7a474c9455 Fix typos in source code. Patch by Dmitriy (olshevskiy87@bk.ru).
Fixes BZ #349874


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15394
2015-07-05 21:53:33 +00:00
Carl Love
c4fb707788 Backing out patch 1 and 2 from Bugzilla 349790.
The new script (tests/check_ppc64_auxv_cap) in the first patch was
written for the bash shell.  I was told by fkrohm that there was an
issue with bash sometime ago and the decision was to use sh instead.
sh maps to bash on a lot of systems but on some it maps to dash.  The
script is not compatible with dash.  

In retesting the second patch with a fresh svn pull, I found that I
forgot to do the svn add for the new script file.  Which causes the
regression test to fail with the second patch applied.  

So, I have decided it will be best to just back out patch 1 and 2 for now.
I will fix the script and do this again.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15390
2015-07-01 21:29:12 +00:00