You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(8) |
2
(2) |
3
(1) |
4
(2) |
|
5
(1) |
6
(4) |
7
(6) |
8
(5) |
9
(3) |
10
(5) |
11
(1) |
|
12
(6) |
13
(4) |
14
(1) |
15
(4) |
16
(1) |
17
|
18
|
|
19
|
20
|
21
(2) |
22
(28) |
23
(17) |
24
(6) |
25
(4) |
|
26
(2) |
27
(2) |
28
|
29
(5) |
30
(8) |
31
(14) |
|
|
From: Matthias S. <zz...@ge...> - 2015-07-06 17:35:30
|
On 05.07.2015 23:53, sv...@va... wrote:
> Author: florian
> Date: Sun Jul 5 22:53:33 2015
> New Revision: 15394
>
> Log:
> Fix typos in source code. Patch by Dmitriy (ols...@bk...).
> Fixes BZ #349874
>
These changes look like they were not part of this changeset.
> @@ -2829,9 +2829,9 @@
> }
>
> /* Ok, success with the kernel. Update our structures. */
> - nsegments[segR].start += delta;
> - nsegments[segA].end += delta;
> - aspacem_assert(nsegments[segR].start <= nsegments[segR].end);
> + NSegment seg_copy = nsegments[segA];
> + seg_copy.end += delta;
> + add_segment(&seg_copy);
>
> } else {
>
> @@ -2868,9 +2868,9 @@
> }
>
> /* Ok, success with the kernel. Update our structures. */
> - nsegments[segR].end -= delta;
> - nsegments[segA].start -= delta;
> - aspacem_assert(nsegments[segR].start <= nsegments[segR].end);
> + NSegment seg_copy = nsegments[segA];
> + seg_copy.start -= delta;
> + add_segment(&seg_copy);
> }
>
> AM_SANITY_CHECK;
>
Regards
Matthias
|
|
From: <sv...@va...> - 2015-07-06 09:34:21
|
Author: rhyskidd
Date: Mon Jul 6 10:34:12 2015
New Revision: 15395
Log:
Followup to r15394 and BZ #349874. Ensure tests align with (corrected) output.
Modified:
trunk/gdbserver_tests/mchelp.stdoutB.exp
Modified: trunk/gdbserver_tests/mchelp.stdoutB.exp
==============================================================================
--- trunk/gdbserver_tests/mchelp.stdoutB.exp (original)
+++ trunk/gdbserver_tests/mchelp.stdoutB.exp Mon Jul 6 10:34:12 2015
@@ -61,7 +61,7 @@
v.do expensive_sanity_check_general : do an expensive sanity check now
v.info gdbserver_status : show gdbserver status
v.info memory [aspacemgr] : show valgrind heap memory stats
- (with aspacemgr arg, also shows valgrind segments on log ouput)
+ (with aspacemgr arg, also shows valgrind segments on log output)
v.info exectxt : show stacktraces and stats of all execontexts
v.info scheduler : show valgrind thread state and stacktrace
v.info stats : show various valgrind and tool stats
|
|
From: <sv...@va...> - 2015-07-05 21:53:43
|
Author: florian
Date: Sun Jul 5 22:53:33 2015
New Revision: 15394
Log:
Fix typos in source code. Patch by Dmitriy (ols...@bk...).
Fixes BZ #349874
Modified:
trunk/NEWS
trunk/callgrind/bb.c
trunk/callgrind/dump.c
trunk/coregrind/m_addrinfo.c
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
trunk/coregrind/m_aspacemgr/aspacemgr-segnames.c
trunk/coregrind/m_debuginfo/debuginfo.c
trunk/coregrind/m_debuginfo/readdwarf.c
trunk/coregrind/m_debuginfo/readdwarf3.c
trunk/coregrind/m_debuginfo/readexidx.c
trunk/coregrind/m_debuginfo/storage.c
trunk/coregrind/m_demangle/cplus-dem.c
trunk/coregrind/m_gdbserver/m_gdbserver.c
trunk/coregrind/m_gdbserver/server.c
trunk/coregrind/m_gdbserver/target.h
trunk/coregrind/m_libcbase.c
trunk/coregrind/m_machine.c
trunk/coregrind/m_mallocfree.c
trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
trunk/coregrind/m_sigframe/sigframe-tilegx-linux.c
trunk/coregrind/m_signals.c
trunk/coregrind/m_stacks.c
trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
trunk/coregrind/m_syswrap/syswrap-arm-linux.c
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
trunk/coregrind/m_syswrap/syswrap-mips32-linux.c
trunk/coregrind/m_syswrap/syswrap-mips64-linux.c
trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c
trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c
trunk/coregrind/m_syswrap/syswrap-s390x-linux.c
trunk/coregrind/m_syswrap/syswrap-tilegx-linux.c
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
trunk/coregrind/pub_core_errormgr.h
trunk/coregrind/pub_core_gdbserver.h
trunk/coregrind/vgdb-invoker-ptrace.c
trunk/coregrind/vgdb.c
trunk/drd/drd_error.c
trunk/drd/drd_semaphore.c
trunk/drd/drd_thread.c
trunk/helgrind/hg_basics.h
trunk/helgrind/hg_errors.c
trunk/helgrind/hg_main.c
trunk/helgrind/libhb_core.c
trunk/memcheck/mc_leakcheck.c
trunk/memcheck/mc_main.c
trunk/memcheck/mc_translate.c
trunk/memcheck/tests/post-syscall.c
trunk/memcheck/tests/sbfragment.c
trunk/none/tests/mmap_fcntl_bug.c
trunk/perf/tinycc.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sun Jul 5 22:53:33 2015
@@ -248,6 +248,7 @@
349087 Fix UNKNOWN task message [id 3410, to mach_task_self(),
reply 0x........] (task_set_special_port)
349626 Implemented additional Xen hypercalls
+349874 Fix typos in source code
n-i-bz Provide implementations of certain compiler builtins to support
compilers who may not provide those
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
Modified: trunk/callgrind/bb.c
==============================================================================
--- trunk/callgrind/bb.c (original)
+++ trunk/callgrind/bb.c Sun Jul 5 22:53:33 2015
@@ -234,7 +234,7 @@
* This involves a possibly different address, but is handled by
* looking up a BB keyed by (obj_node, file offset).
*
- * bbIn==0 is possible for artifical BB without real code.
+ * bbIn==0 is possible for artificial BB without real code.
* Such a BB is created when returning to an unknown function.
*/
BB* CLG_(get_bb)(Addr addr, IRSB* bbIn, /*OUT*/ Bool *seen_before)
Modified: trunk/callgrind/dump.c
==============================================================================
--- trunk/callgrind/dump.c (original)
+++ trunk/callgrind/dump.c Sun Jul 5 22:53:33 2015
@@ -589,7 +589,7 @@
*/
CLG_ASSERT(jcc->from->bb->obj == jcc->to->bb->obj);
- /* only print if target position info is usefull */
+ /* only print if target position info is useful */
if (!CLG_(clo).dump_instr && !CLG_(clo).dump_bb && target.line==0) {
jcc->call_counter = 0;
return;
@@ -817,7 +817,7 @@
}
if (CLG_(clo).dump_bbs) VG_(fprintf)(fp, "\n");
- /* when every cost was immediatly written, we must have done so,
+ /* when every cost was immediately written, we must have done so,
* as this function is only called when there's cost in a BBCC
*/
CLG_ASSERT(something_written);
Modified: trunk/coregrind/m_addrinfo.c
==============================================================================
--- trunk/coregrind/m_addrinfo.c (original)
+++ trunk/coregrind/m_addrinfo.c Sun Jul 5 22:53:33 2015
@@ -100,7 +100,7 @@
(void) VG_(get_data_description)( ai->Addr.Variable.descr1,
ai->Addr.Variable.descr2, a );
- /* If there's nothing in descr1/2, free them. Why is it safe to to
+ /* If there's nothing in descr1/2, free them. Why is it safe to
VG_(indexXA) at zero here? Because VG_(get_data_description)
guarantees to zero terminate descr1/2 regardless of the outcome
of the call. So there's always at least one element in each XA
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c Sun Jul 5 22:53:33 2015
@@ -1288,7 +1288,7 @@
case SkResvn: {
if (seg->smode != SmUpper) return False;
- /* If the the abutting segment towards higher addresses is an SkAnonC
+ /* If the abutting segment towards higher addresses is an SkAnonC
segment, then ADDR is a future stack pointer. */
const NSegment *next = VG_(am_next_nsegment)(seg, /*forward*/ True);
if (next == NULL || next->kind != SkAnonC) return False;
@@ -2829,9 +2829,9 @@
}
/* Ok, success with the kernel. Update our structures. */
- nsegments[segR].start += delta;
- nsegments[segA].end += delta;
- aspacem_assert(nsegments[segR].start <= nsegments[segR].end);
+ NSegment seg_copy = nsegments[segA];
+ seg_copy.end += delta;
+ add_segment(&seg_copy);
} else {
@@ -2868,9 +2868,9 @@
}
/* Ok, success with the kernel. Update our structures. */
- nsegments[segR].end -= delta;
- nsegments[segA].start -= delta;
- aspacem_assert(nsegments[segR].start <= nsegments[segR].end);
+ NSegment seg_copy = nsegments[segA];
+ seg_copy.start -= delta;
+ add_segment(&seg_copy);
}
AM_SANITY_CHECK;
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-segnames.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-segnames.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-segnames.c Sun Jul 5 22:53:33 2015
@@ -92,7 +92,7 @@
Free slots are chained together in a singly linked list. An index of
zero indicates the end of the chain. Note that zero cannot conflict
- with an index into the string table as the minumum index is at least
+ with an index into the string table as the minimum index is at least
four (see above).
The typical way to traverse the segment names is:
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Sun Jul 5 22:53:33 2015
@@ -118,7 +118,7 @@
static DebugInfo* debugInfo_list = NULL;
-/* Find 'di' in the debugInfo_list and move it one step closer the the
+/* Find 'di' in the debugInfo_list and move it one step closer to the
front of the list, so as to make subsequent searches for it
cheaper. When used in a controlled way, makes a major improvement
in some DebugInfo-search-intensive situations, most notably stack
Modified: trunk/coregrind/m_debuginfo/readdwarf.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf.c Sun Jul 5 22:53:33 2015
@@ -454,9 +454,9 @@
It seems to me that the Intel Fortran compiler generates bad
DWARF2 line info code: It sets "is_stmt" of the state machine in
- the the line info reader to be always false. Thus, there is
- never a statement boundary generated and therefore never a
- instruction range/line number mapping generated for valgrind.
+ the line info reader to be always false. Thus, there is never
+ a statement boundary generated and therefore never an instruction
+ range/line number mapping generated for valgrind.
Please have a look at the DWARF2 specification, Ch. 6.2
(x86.ddj.com/ftp/manuals/tools/dwarf.pdf). Perhaps I understand
@@ -464,7 +464,7 @@
I just had a look at the GDB DWARF2 reader... They completely
ignore "is_stmt" when recording line info ;-) That's the reason
- "objdump -S" works on files from the the intel fortran compiler.
+ "objdump -S" works on files from the intel fortran compiler.
Therefore: */
info.li_default_is_stmt = True;
@@ -1437,7 +1437,7 @@
}
}
- /* Move on the the next DIE. */
+ /* Move on the next DIE. */
die_offset += die_szb;
} /* Looping over DIEs */
Modified: trunk/coregrind/m_debuginfo/readdwarf3.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf3.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf3.c Sun Jul 5 22:53:33 2015
@@ -1614,7 +1614,7 @@
(DW_AT_subprogram), and for those, we also note the GExpr
derived from its DW_AT_frame_base attribute, if any.
Consequently it should be possible to find, for any
- variable's DIE, the GExpr for the the containing function's
+ variable's DIE, the GExpr for the containing function's
DW_AT_frame_base by scanning back through the stack to find
the nearest entry associated with a function. This somewhat
elaborate scheme is provided so as to make it possible to
@@ -3411,7 +3411,7 @@
if (is_decl && (!is_spec)) {
/* It's a DW_AT_declaration. We require the name but
nothing else. */
- /* JRS 2012-06-28: following discussion w/ tromey, if the the
+ /* JRS 2012-06-28: following discussion w/ tromey, if the
type doesn't have name, just make one up, and accept it.
It might be referred to by other DIEs, so ignoring it
doesn't seem like a safe option. */
Modified: trunk/coregrind/m_debuginfo/readexidx.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readexidx.c (original)
+++ trunk/coregrind/m_debuginfo/readexidx.c Sun Jul 5 22:53:33 2015
@@ -287,7 +287,7 @@
GET_EXTAB_U32(data, extbl_data);
if (!(data & ARM_EXIDX_COMPACT)) {
// This denotes a "generic model" handler. That will involve
- // executing arbitary machine code, which is something we
+ // executing arbitrary machine code, which is something we
// can't represent here; hence reject it.
return ExCantRepresent;
}
@@ -299,9 +299,9 @@
extbl_data++;
}
- // Now look at the the handler table entry. The first word is
- // |data| and subsequent words start at |*extbl_data|. The number
- // of extra words to use is |extra|, provided that the personality
+ // Now look at the handler table entry. The first word is |data|
+ // and subsequent words start at |*extbl_data|. The number of
+ // extra words to use is |extra|, provided that the personality
// allows extra words. Even if it does, none may be available --
// extra_allowed is the maximum number of extra words allowed. */
if (pers == 0) {
Modified: trunk/coregrind/m_debuginfo/storage.c
==============================================================================
--- trunk/coregrind/m_debuginfo/storage.c (original)
+++ trunk/coregrind/m_debuginfo/storage.c Sun Jul 5 22:53:33 2015
@@ -32,7 +32,7 @@
/* This file manages the data structures built by the debuginfo
system. These are: the top level SegInfo list. For each SegInfo,
- there are tables for for address-to-symbol mappings,
+ there are tables for address-to-symbol mappings,
address-to-src-file/line mappings, and address-to-CFI-info
mappings.
*/
Modified: trunk/coregrind/m_demangle/cplus-dem.c
==============================================================================
--- trunk/coregrind/m_demangle/cplus-dem.c (original)
+++ trunk/coregrind/m_demangle/cplus-dem.c Sun Jul 5 22:53:33 2015
@@ -2666,7 +2666,7 @@
/* Iterate over occurrences of __, allowing names and types to have a
"__" sequence in them. We must start with the first (not the last)
occurrence, since "__" most often occur between independent mangled
- parts, hence starting at the last occurence inside a signature
+ parts, hence starting at the last occurrence inside a signature
might get us a "successful" demangling of the signature. */
while (scan[2])
Modified: trunk/coregrind/m_gdbserver/m_gdbserver.c
==============================================================================
--- trunk/coregrind/m_gdbserver/m_gdbserver.c (original)
+++ trunk/coregrind/m_gdbserver/m_gdbserver.c Sun Jul 5 22:53:33 2015
@@ -773,7 +773,7 @@
}
/* busy > 0 when gdbserver is currently being called.
- busy is used to to avoid vgdb invoking gdbserver
+ busy is used to avoid vgdb invoking gdbserver
while gdbserver by Valgrind. */
static volatile int busy = 0;
Modified: trunk/coregrind/m_gdbserver/server.c
==============================================================================
--- trunk/coregrind/m_gdbserver/server.c (original)
+++ trunk/coregrind/m_gdbserver/server.c Sun Jul 5 22:53:33 2015
@@ -244,7 +244,7 @@
" v.do expensive_sanity_check_general : do an expensive sanity check now\n"
" v.info gdbserver_status : show gdbserver status\n"
" v.info memory [aspacemgr] : show valgrind heap memory stats\n"
-" (with aspacemgr arg, also shows valgrind segments on log ouput)\n"
+" (with aspacemgr arg, also shows valgrind segments on log output)\n"
" v.info exectxt : show stacktraces and stats of all execontexts\n"
" v.info scheduler : show valgrind thread state and stacktrace\n"
" v.info stats : show various valgrind and tool stats\n"
Modified: trunk/coregrind/m_gdbserver/target.h
==============================================================================
--- trunk/coregrind/m_gdbserver/target.h (original)
+++ trunk/coregrind/m_gdbserver/target.h Sun Jul 5 22:53:33 2015
@@ -211,7 +211,7 @@
Returns True if the address of the variable could be found.
*tls_addr is then set to this address.
Returns False if tls support is not available for this arch, or
- if an error occured. *tls_addr is set to NULL. */
+ if an error occurred. *tls_addr is set to NULL. */
extern Bool valgrind_get_tls_addr (ThreadState *tst,
CORE_ADDR offset,
CORE_ADDR lm,
Modified: trunk/coregrind/m_libcbase.c
==============================================================================
--- trunk/coregrind/m_libcbase.c (original)
+++ trunk/coregrind/m_libcbase.c Sun Jul 5 22:53:33 2015
@@ -653,7 +653,7 @@
}
/* If we're unlucky, the alignment constraints for the fast case
- above won't apply, and we'll have to to it all here. Hence the
+ above won't apply, and we'll have to do it all here. Hence the
unrolling. */
while (sz >= 4) {
d[0] = s[0];
Modified: trunk/coregrind/m_machine.c
==============================================================================
--- trunk/coregrind/m_machine.c (original)
+++ trunk/coregrind/m_machine.c Sun Jul 5 22:53:33 2015
@@ -526,7 +526,7 @@
/* Helper function for VG_(machine_get_hwcaps), assumes the SIGILL/etc
- * handlers are installed. Determines the the sizes affected by dcbz
+ * handlers are installed. Determines the sizes affected by dcbz
* and dcbzl instructions and updates the given VexArchInfo structure
* accordingly.
*
Modified: trunk/coregrind/m_mallocfree.c
==============================================================================
--- trunk/coregrind/m_mallocfree.c (original)
+++ trunk/coregrind/m_mallocfree.c Sun Jul 5 22:53:33 2015
@@ -2113,8 +2113,8 @@
/*
The idea for malloc_aligned() is to allocate a big block, base, and
- then split it into two parts: frag, which is returned to the the
- free pool, and align, which is the bit we're really after. Here's
+ then split it into two parts: frag, which is returned to the free
+ pool, and align, which is the bit we're really after. Here's
a picture. L and H denote the block lower and upper overheads, in
bytes. The details are gruesome. Note it is slightly complicated
because the initial request to generate base may return a bigger
Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
==============================================================================
--- trunk/coregrind/m_replacemalloc/vg_replace_malloc.c (original)
+++ trunk/coregrind/m_replacemalloc/vg_replace_malloc.c Sun Jul 5 22:53:33 2015
@@ -1055,7 +1055,7 @@
}
/* Note that the (void*) casts below are a kludge which stops
- compilers complaining about the fact that the the replacement
+ compilers complaining about the fact that the replacement
functions aren't really of the right type. */
static vki_malloc_zone_t vg_default_zone = {
NULL, // reserved1
Modified: trunk/coregrind/m_sigframe/sigframe-tilegx-linux.c
==============================================================================
--- trunk/coregrind/m_sigframe/sigframe-tilegx-linux.c (original)
+++ trunk/coregrind/m_sigframe/sigframe-tilegx-linux.c Sun Jul 5 22:53:33 2015
@@ -262,7 +262,7 @@
struct vki_ucontext *ucp = &frame->rs_uc;
if (0)
- VG_(printf)("destory signal frame; sp = %lx, "
+ VG_(printf)("destroy signal frame; sp = %lx, "
" %pc = %lx, status=%d\n",
(Addr)frame, tst->arch.vex.guest_pc, tst->status);
Modified: trunk/coregrind/m_signals.c
==============================================================================
--- trunk/coregrind/m_signals.c (original)
+++ trunk/coregrind/m_signals.c Sun Jul 5 22:53:33 2015
@@ -160,7 +160,7 @@
So what we have to do, when doing any syscall which SfMayBlock, is to
quickly switch in the SCSS-specified signal mask just before the
syscall, and switch it back just afterwards, and hope that we don't
- get caught up in some wierd race condition. This is the primary
+ get caught up in some weird race condition. This is the primary
purpose of the ultra-magical pieces of assembly code in
coregrind/m_syswrap/syscall-<plat>.S
Modified: trunk/coregrind/m_stacks.c
==============================================================================
--- trunk/coregrind/m_stacks.c (original)
+++ trunk/coregrind/m_stacks.c Sun Jul 5 22:53:33 2015
@@ -103,7 +103,7 @@
*/
static Stack *current_stack;
-/* Find 'st' in the stacks_list and move it one step closer the the
+/* Find 'st' in the stacks_list and move it one step closer to the
front of the list, so as to make subsequent searches for it
cheaper. */
static void move_Stack_one_step_forward ( Stack* st )
Modified: trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-amd64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-amd64-linux.c Sun Jul 5 22:53:33 2015
@@ -188,7 +188,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-arm-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm-linux.c Sun Jul 5 22:53:33 2015
@@ -154,7 +154,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sun Jul 5 22:53:33 2015
@@ -198,7 +198,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-mips32-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-mips32-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-mips32-linux.c Sun Jul 5 22:53:33 2015
@@ -227,7 +227,7 @@
UWord arg4, UWord arg5, Off64T arg6);
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
3. create the thread using the same args as the client requested,
but using the scheduler entrypoint for IP, and a separate stack
Modified: trunk/coregrind/m_syswrap/syswrap-mips64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-mips64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-mips64-linux.c Sun Jul 5 22:53:33 2015
@@ -185,7 +185,7 @@
static SysRes sys_set_tls ( ThreadId tid, Addr tlsptr);
/* When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c Sun Jul 5 22:53:33 2015
@@ -221,7 +221,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c Sun Jul 5 22:53:33 2015
@@ -371,7 +371,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-s390x-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-s390x-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-s390x-linux.c Sun Jul 5 22:53:33 2015
@@ -194,7 +194,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/m_syswrap/syswrap-tilegx-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-tilegx-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-tilegx-linux.c Sun Jul 5 22:53:33 2015
@@ -319,7 +319,7 @@
static SysRes sys_set_tls ( ThreadId tid, Addr tlsptr );
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
3. create the thread using the same args as the client requested,
but using the scheduler entrypoint for IP, and a separate stack
Modified: trunk/coregrind/m_syswrap/syswrap-x86-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-x86-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-x86-linux.c Sun Jul 5 22:53:33 2015
@@ -195,7 +195,7 @@
/*
When a client clones, we need to keep track of the new thread. This means:
- 1. allocate a ThreadId+ThreadState+stack for the the thread
+ 1. allocate a ThreadId+ThreadState+stack for the thread
2. initialize the thread's new VCPU state
Modified: trunk/coregrind/pub_core_errormgr.h
==============================================================================
--- trunk/coregrind/pub_core_errormgr.h (original)
+++ trunk/coregrind/pub_core_errormgr.h Sun Jul 5 22:53:33 2015
@@ -57,7 +57,7 @@
// else print all errors and suppressions used.
extern void VG_(show_all_errors) ( Int verbosity, Bool xml );
-/* Print (in readable format) the last error that occured. */
+/* Print (in readable format) the last error that occurred. */
extern void VG_(show_last_error) ( void );
extern void VG_(show_error_counts_as_XML) ( void );
Modified: trunk/coregrind/pub_core_gdbserver.h
==============================================================================
--- trunk/coregrind/pub_core_gdbserver.h (original)
+++ trunk/coregrind/pub_core_gdbserver.h Sun Jul 5 22:53:33 2015
@@ -83,7 +83,7 @@
Note that gdbserver assumes that software breakpoint is supported
(as this will be done by re-instrumenting the code).
- Note that len is ignored for sofware breakpoints. hardware_breakpoint
+ Note that len is ignored for software breakpoints. hardware_breakpoint
are not supported.
Returns True if the point has properly been inserted or removed
Modified: trunk/coregrind/vgdb-invoker-ptrace.c
==============================================================================
--- trunk/coregrind/vgdb-invoker-ptrace.c (original)
+++ trunk/coregrind/vgdb-invoker-ptrace.c Sun Jul 5 22:53:33 2015
@@ -329,7 +329,7 @@
}
/* Stops the given pid, wait for the process to be stopped.
- Returns True if succesful, False otherwise.
+ Returns True if successful, False otherwise.
msg is used in tracing and error reporting. */
static
Bool stop (pid_t pid, const char *msg)
@@ -348,7 +348,7 @@
}
/* Attaches to given pid, wait for the process to be stopped.
- Returns True if succesful, False otherwise.
+ Returns True if successful, False otherwise.
msg is used in tracing and error reporting. */
static
Bool attach (pid_t pid, const char *msg)
@@ -572,7 +572,7 @@
res = ptrace (PTRACE_GETREGSET, pid, NT_PRSTATUS, &iovec);
if (res == 0) {
if (has_working_ptrace_getregset == -1) {
- // First call to PTRACE_GETREGSET succesful =>
+ // First call to PTRACE_GETREGSET successful =>
has_working_ptrace_getregset = 1;
DEBUG(1, "detected a working PTRACE_GETREGSET\n");
}
@@ -607,7 +607,7 @@
res = ptrace (PTRACE_GETREGS, pid, NULL, regs);
if (res == 0) {
if (has_working_ptrace_getregs == -1) {
- // First call to PTRACE_GETREGS succesful =>
+ // First call to PTRACE_GETREGS successful =>
has_working_ptrace_getregs = 1;
DEBUG(1, "detected a working PTRACE_GETREGS\n");
}
Modified: trunk/coregrind/vgdb.c
==============================================================================
--- trunk/coregrind/vgdb.c (original)
+++ trunk/coregrind/vgdb.c Sun Jul 5 22:53:33 2015
@@ -290,7 +290,7 @@
last invoke. */
if (invoked_written != written_by_vgdb_before_sleep) {
if (invoker_invoke_gdbserver(pid)) {
- /* If invoke succesful, no need to invoke again
+ /* If invoke successful, no need to invoke again
for the same value of written_by_vgdb_before_sleep. */
invoked_written = written_by_vgdb_before_sleep;
}
Modified: trunk/drd/drd_error.c
==============================================================================
--- trunk/drd/drd_error.c (original)
+++ trunk/drd/drd_error.c Sun Jul 5 22:53:33 2015
@@ -174,7 +174,7 @@
tl_assert(dri->size > 0);
(void) VG_(get_data_description)(descr1, descr2, dri->addr);
- /* If there's nothing in descr1/2, free them. Why is it safe to to
+ /* If there's nothing in descr1/2, free them. Why is it safe to
VG_(indexXA) at zero here? Because VG_(get_data_description)
guarantees to zero terminate descr1/2 regardless of the outcome
of the call. So there's always at least one element in each XA
Modified: trunk/drd/drd_semaphore.c
==============================================================================
--- trunk/drd/drd_semaphore.c (original)
+++ trunk/drd/drd_semaphore.c Sun Jul 5 22:53:33 2015
@@ -90,7 +90,7 @@
/**
* Initialize the memory 'p' points at as a semaphore_info structure for the
- * client semaphore at client addres 'semaphore'.
+ * client semaphore at client address 'semaphore'.
*/
static
void drd_semaphore_initialize(struct semaphore_info* const p,
Modified: trunk/drd/drd_thread.c
==============================================================================
--- trunk/drd/drd_thread.c (original)
+++ trunk/drd/drd_thread.c Sun Jul 5 22:53:33 2015
@@ -1171,7 +1171,7 @@
/**
* Create a new segment for thread tid and update the vector clock of the last
- * segment of this thread with the the vector clock of segment sg. Call this
+ * segment of this thread with the vector clock of segment sg. Call this
* function after thread tid had to wait because of thread synchronization
* until the memory accesses in the segment sg finished.
*/
Modified: trunk/helgrind/hg_basics.h
==============================================================================
--- trunk/helgrind/hg_basics.h (original)
+++ trunk/helgrind/hg_basics.h Sun Jul 5 22:53:33 2015
@@ -80,7 +80,7 @@
1: "approx": collect one stack trace per (notional) segment, that
is, collect a stack trace for a thread every time its vector
- clock changes. This faciliates showing the bounds of the
+ clock changes. This facilitates showing the bounds of the
conflicting segment(s), with relatively small overhead.
2: "full": collect a stack trace every time the constraints for a
Modified: trunk/helgrind/hg_errors.c
==============================================================================
--- trunk/helgrind/hg_errors.c (original)
+++ trunk/helgrind/hg_errors.c Sun Jul 5 22:53:33 2015
@@ -1212,7 +1212,7 @@
if (xe->XE.Race.h1_ct_mbsegendEC) {
VG_(pp_ExeContext)( xe->XE.Race.h1_ct_mbsegendEC );
} else {
- emit( " <auxwhat>(the end of the the thread)</auxwhat>\n" );
+ emit( " <auxwhat>(the end of the thread)</auxwhat>\n" );
}
}
@@ -1256,7 +1256,7 @@
if (xe->XE.Race.h1_ct_mbsegendEC) {
VG_(pp_ExeContext)( xe->XE.Race.h1_ct_mbsegendEC );
} else {
- emit( " (the end of the the thread)\n" );
+ emit( " (the end of the thread)\n" );
}
}
Modified: trunk/helgrind/hg_main.c
==============================================================================
--- trunk/helgrind/hg_main.c (original)
+++ trunk/helgrind/hg_main.c Sun Jul 5 22:53:33 2015
@@ -3310,7 +3310,7 @@
{
/* TID declares that any happens-before edges notionally stored in
USERTAG can be deleted. If (as would normally be the case) a
- SO is associated with USERTAG, then the assocation is removed
+ SO is associated with USERTAG, then the association is removed
and all resources associated with SO are freed. Importantly,
that frees up any VTSs stored in SO. */
if (SHOW_EVENTS >= 1)
Modified: trunk/helgrind/libhb_core.c
==============================================================================
--- trunk/helgrind/libhb_core.c (original)
+++ trunk/helgrind/libhb_core.c Sun Jul 5 22:53:33 2015
@@ -143,7 +143,7 @@
a pair, (Thr*, ULong), but that takes 16 bytes on a 64-bit target.
We pack it into 64 bits by representing the Thr* using a ThrID, a
small integer (18 bits), and a 46 bit integer for the timestamp
- number. The 46/18 split is arbitary, but has the effect that
+ number. The 46/18 split is arbitrary, but has the effect that
Helgrind can only handle programs that create 2^18 or fewer threads
over their entire lifetime, and have no more than 2^46 timestamp
ticks (synchronisation operations on the same thread).
@@ -3014,7 +3014,7 @@
/* Now figure out when the next GC should be. We'll allow the
number of VTSs to double before GCing again. Except of course
that since we can't (or, at least, don't) shrink vts_tab, we
- can't set the threshhold value smaller than it. */
+ can't set the threshold value smaller than it. */
tl_assert(nFreed <= nTab);
nLive = nTab - nFreed;
tl_assert(nLive >= 0 && nLive <= nTab);
@@ -4306,7 +4306,7 @@
/* Find 'ec' in the RCEC list whose head pointer lives at 'headp' and
- move it one step closer the the front of the list, so as to make
+ move it one step closer to the front of the list, so as to make
subsequent searches for it cheaper. */
static void move_RCEC_one_step_forward ( RCEC** headp, RCEC* ec )
{
@@ -4354,7 +4354,7 @@
return a pointer to the copy. The caller can safely have 'example'
on its stack, since we will always return a pointer to a copy of
it, not to the original. Note that the inserted node will have .rc
- of zero and so the caller must immediatly increment it. */
+ of zero and so the caller must immediately increment it. */
__attribute__((noinline))
static RCEC* ctxt__find_or_add ( RCEC* example )
{
@@ -7067,7 +7067,7 @@
do_RCEC_GC();
/* If there are still no entries available (all the table entries are full),
- and we hit the threshhold point, then do a GC */
+ and we hit the threshold point, then do a GC */
Bool vts_tab_GC = vts_tab_freelist == VtsID_INVALID
&& VG_(sizeXA)( vts_tab ) >= vts_next_GC_at;
if (UNLIKELY (vts_tab_GC))
Modified: trunk/memcheck/mc_leakcheck.c
==============================================================================
--- trunk/memcheck/mc_leakcheck.c (original)
+++ trunk/memcheck/mc_leakcheck.c Sun Jul 5 22:53:33 2015
@@ -943,7 +943,7 @@
// 1. Leak check mode (searched == 0).
// -----------------------------------
// Scan a block of memory between [start, start+len). This range may
-// be bogus, inaccessable, or otherwise strange; we deal with it. For each
+// be bogus, inaccessible, or otherwise strange; we deal with it. For each
// valid aligned word we assume it's a pointer to a chunk a push the chunk
// onto the mark stack if so.
// clique is the "highest level clique" in which indirectly leaked blocks have
@@ -995,7 +995,7 @@
/* Optimisation: the loop below will check for each begin
of SM chunk if the chunk is fully unaddressable. The idea is to
skip efficiently such fully unaddressable SM chunks.
- So, we preferrably start the loop on a chunk boundary.
+ So, we preferably start the loop on a chunk boundary.
If the chunk is not fully unaddressable, we might be in
an unaddressable page. Again, the idea is to skip efficiently
such unaddressable page : this is the "else" part.
Modified: trunk/memcheck/mc_main.c
==============================================================================
--- trunk/memcheck/mc_main.c (original)
+++ trunk/memcheck/mc_main.c Sun Jul 5 22:53:33 2015
@@ -2263,7 +2263,7 @@
* Some obscure uses of x86/amd64 byte registers can cause lossage
or confusion of origins. %AH .. %DH are treated as different
from, and unrelated to, their parent registers, %EAX .. %EDX.
- So some wierd sequences like
+ So some weird sequences like
movb undefined-value, %AH
movb defined-value, %AL
Modified: trunk/memcheck/mc_translate.c
==============================================================================
--- trunk/memcheck/mc_translate.c (original)
+++ trunk/memcheck/mc_translate.c Sun Jul 5 22:53:33 2015
@@ -4728,7 +4728,7 @@
di->guard = guard;
/* Ideally the didn't-happen return value here would be all-ones
(all-undefined), so it'd be obvious if it got used
- inadvertantly. We can get by with the IR-mandated default
+ inadvertently. We can get by with the IR-mandated default
value (0b01 repeating, 0x55 etc) as that'll still look pretty
undefined if it ever leaks out. */
}
@@ -6786,7 +6786,7 @@
di->guard = guard;
/* Ideally the didn't-happen return value here would be
all-zeroes (unknown-origin), so it'd be harmless if it got
- used inadvertantly. We slum it out with the IR-mandated
+ used inadvertently. We slum it out with the IR-mandated
default value (0b01 repeating, 0x55 etc) as that'll probably
trump all legitimate otags via Max32, and it's pretty
obviously bogus. */
Modified: trunk/memcheck/tests/post-syscall.c
==============================================================================
--- trunk/memcheck/tests/post-syscall.c (original)
+++ trunk/memcheck/tests/post-syscall.c Sun Jul 5 22:53:33 2015
@@ -9,7 +9,7 @@
/* Check that a syscall's POST function gets called if it completes
due to being interrupted. nanosleep is used here, because it
writes a result even if it fails. wait*() could also be used,
- because they successully complete if interrupted by SIGCHLD.
+ because they successfully complete if interrupted by SIGCHLD.
*/
static void handler(int s)
{
Modified: trunk/memcheck/tests/sbfragment.c
==============================================================================
--- trunk/memcheck/tests/sbfragment.c (original)
+++ trunk/memcheck/tests/sbfragment.c Sun Jul 5 22:53:33 2015
@@ -75,7 +75,7 @@
}
printf ("after %d loops, last size block requested %lu\n", loop, bigsize);
- // verify if superblock fragmentation occured
+ // verify if superblock fragmentation occurred
// We consider that an arena of up to 3 times more than bigsize is ok.
{
#if defined(HAVE_MALLINFO)
Modified: trunk/none/tests/mmap_fcntl_bug.c
==============================================================================
--- trunk/none/tests/mmap_fcntl_bug.c (original)
+++ trunk/none/tests/mmap_fcntl_bug.c Sun Jul 5 22:53:33 2015
@@ -40,7 +40,7 @@
fl.l_start = 0;
fl.l_len = 1;
- /* I'm assuming noone else tries to lock this! */
+ /* I'm assuming no one else tries to lock this! */
if (fcntl(fd, F_SETLK, &fl) != 0)
err(1, "Locking %s", file);
Modified: trunk/perf/tinycc.c
==============================================================================
--- trunk/perf/tinycc.c (original)
+++ trunk/perf/tinycc.c Sun Jul 5 22:53:33 2015
@@ -3080,7 +3080,7 @@
DEF_FP(mul)
DEF_ASM(fcom)
- DEF_ASM(fcom_1) /* non existant op, just to have a regular table */
+ DEF_ASM(fcom_1) /* non existent op, just to have a regular table */
DEF_FP1(com)
DEF_FP(comp)
@@ -4412,7 +4412,7 @@
DEF_FP(mul)
DEF_ASM(fcom)
- DEF_ASM(fcom_1) /* non existant op, just to have a regular table */
+ DEF_ASM(fcom_1) /* non existent op, just to have a regular table */
DEF_FP1(com)
DEF_FP(comp)
@@ -16970,7 +16970,7 @@
}
}
-/* generate prolog and epilog code for asm statment */
+/* generate prolog and epilog code for asm statement */
static void asm_gen_code(ASMOperand *operands, int nb_operands,
int nb_outputs, int is_output,
uint8_t *clobber_regs,
|
|
From: <sv...@va...> - 2015-07-04 16:33:59
|
Author: florian
Date: Sat Jul 4 17:33:51 2015
New Revision: 15393
Log:
Do not manipulate segment boundaries directly. Instead follow
the scheme from am_extend_map_client and let am_add_segment do
the work.
A bot more constification as well.
Modified:
branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-linux.c
Modified: branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-linux.c Sat Jul 4 17:33:51 2015
@@ -2049,7 +2049,7 @@
extend_into_adjacent_reservation_client (Addr addr, SSizeT delta,
Bool *overflow)
{
- NSegment *segA, *segR;
+ const NSegment *segA, *segR;
UInt prot;
SysRes sres;
@@ -2097,10 +2097,9 @@
}
/* Ok, success with the kernel. Update our structures. */
- segR->start += delta;
- segA->end += delta;
- aspacem_assert(segR->start <= segR->end);
-
+ NSegment seg_copy = *segA;
+ seg_copy.end += delta;
+ ML_(am_add_segment)( &seg_copy );
} else {
/* Extending the segment backwards. */
@@ -2133,9 +2132,9 @@
}
/* Ok, success with the kernel. Update our structures. */
- segR->end -= delta;
- segA->start -= delta;
- aspacem_assert(segR->start <= segR->end);
+ NSegment seg_copy = *segA;
+ seg_copy.start -= delta;
+ ML_(am_add_segment)( &seg_copy );
}
AM_SANITY_CHECK();
@@ -2367,7 +2366,7 @@
VG_(am_show_nsegments)(0, "VG_(am_extend_map_client) BEFORE");
/* Get the client segment */
- NSegment *seg = ML_(am_find_segment)(addr);
+ const NSegment *seg = ML_(am_find_segment)(addr);
aspacem_assert(seg->kind == SkFileC || seg->kind == SkAnonC ||
seg->kind == SkShmC);
|
|
From: Matthias S. <zz...@ge...> - 2015-07-04 00:34:41
|
Bug 349879
Measurements:
$ perl perf/vg_perf --reps=10 --tools=memcheck --vg=../orig/ --vg=../x86-load-asm/ perf/
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 orig :0.06s me: 2.5s (41.2x, -----)
bigcode1 x86-load-asm:0.06s me: 2.5s (41.2x, 0.0%)
-- bigcode2 --
bigcode2 orig :0.06s me: 5.8s (97.0x, -----)
bigcode2 x86-load-asm:0.06s me: 5.8s (96.5x, 0.5%)
-- bz2 --
bz2 orig :0.45s me: 5.1s (11.3x, -----)
bz2 x86-load-asm:0.45s me: 5.0s (11.0x, 2.5%)
-- fbench --
fbench orig :0.27s me: 3.2s (11.9x, -----)
fbench x86-load-asm:0.27s me: 3.1s (11.5x, 3.1%)
-- ffbench --
ffbench orig :0.18s me: 1.9s (10.8x, -----)
ffbench x86-load-asm:0.18s me: 1.9s (10.3x, 4.6%)
-- heap --
heap orig :0.07s me: 4.6s (65.6x, -----)
heap x86-load-asm:0.07s me: 4.6s (65.1x, 0.7%)
-- heap_pdb4 --
heap_pdb4 orig :0.08s me: 7.3s (91.5x, -----)
heap_pdb4 x86-load-asm:0.08s me: 7.2s (90.6x, 1.0%)
-- many-loss-records --
many-loss-records orig :0.01s me: 1.2s (122.0x, -----)
many-loss-records x86-load-asm:0.01s me: 1.2s (121.0x, 0.8%)
-- many-xpts --
many-xpts orig :0.04s me: 1.4s (34.0x, -----)
many-xpts x86-load-asm:0.04s me: 1.4s (33.8x, 0.7%)
-- memrw --
memrw orig :0.04s me: 1.1s (28.2x, -----)
memrw x86-load-asm:0.04s me: 1.1s (28.2x, 0.0%)
-- sarp --
sarp orig :0.01s me: 2.1s (215.0x, -----)
sarp x86-load-asm:0.01s me: 2.1s (208.0x, 3.3%)
-- tinycc --
tinycc orig :0.13s me: 5.5s (42.1x, -----)
tinycc x86-load-asm:0.13s me: 5.4s (41.7x, 0.9%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 24 timings =================
---
memcheck/mc_main.c | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 170 insertions(+), 3 deletions(-)
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index 73778fa..56e5618 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -1311,6 +1311,7 @@ void mc_LOADV_128_or_256_slow ( /*OUT*/ULong* res,
static
__attribute__((noinline))
+__attribute__((used))
VG_REGPARM(3) /* make sure we're using a fixed calling convention, since
this function may get called from hand written assembly. */
ULong mc_LOADVn_slow ( Addr a, SizeT nBits, Bool bigendian )
@@ -4430,10 +4431,49 @@ VG_REGPARM(1) ULong MC_(helperc_LOADV64be) ( Addr a )
{
return mc_LOADV64(a, True);
}
+
+#if ENABLE_ASSEMBLY_HELPERS && defined(PERF_FAST_LOADV) \
+ && defined(VGP_x86_linux)
+__asm__(
+".text\n"
+".align 16\n"
+".global vgMemCheck_helperc_LOADV64le\n"
+".type vgMemCheck_helperc_LOADV64le, @function\n"
+"vgMemCheck_helperc_LOADV64le:\n"
+" test $0x7,%al\n"
+" jnz 2f\n" /* jump if not aligned */
+" mov %eax,%ecx\n"
+" movzwl %ax,%edx\n"
+" shr $0x10,%ecx\n"
+" mov primary_map(,%ecx,4),%ecx\n"
+" shr $0x3,%edx\n"
+" movzwl (%ecx,%edx,2),%edx\n"
+" cmp $0xaaaa,%dx\n"
+" jne 1f\n" /* jump if not all defined */
+" xor %eax,%eax\n" /* return 0 in edx:eax */
+" xor %edx,%edx\n"
+" ret\n"
+".align 16\n"
+"1:\n"
+" cmp $0x5555,%dx\n"
+" jne 2f\n" /* jump if not all undefined */
+" or $0xffffffff,%eax\n" /* else return all bits set in edx:eax */
+" mov %eax,%edx\n"
+" ret\n"
+".align 16\n"
+"2:\n"
+" xor %ecx,%ecx\n" /* tail call to mc_LOADVn_slow(a, 64, 0) */
+" mov $64,%edx\n"
+" jmp mc_LOADVn_slow\n"
+".size vgMemCheck_helperc_LOADV64le, .-vgMemCheck_helperc_LOADV64le\n"
+".previous\n"
+);
+#else
VG_REGPARM(1) ULong MC_(helperc_LOADV64le) ( Addr a )
{
return mc_LOADV64(a, False);
}
+#endif
static INLINE
@@ -4586,8 +4626,43 @@ __asm__( /* Derived from NCode template */
".previous\n"
);
+#elif ENABLE_ASSEMBLY_HELPERS && defined(PERF_FAST_LOADV) \
+ && defined(VGP_x86_linux)
+__asm__(
+".text\n"
+".align 16\n"
+".global vgMemCheck_helperc_LOADV32le\n"
+".type vgMemCheck_helperc_LOADV32le, @function\n"
+"vgMemCheck_helperc_LOADV32le:\n"
+" test $0x3, %al\n"
+" jnz 2f\n" /* jump if misaligned */
+" mov %eax, %edx\n"
+" shr $16, %edx\n"
+" mov primary_map(,%edx,4), %ecx\n"
+" movzwl %ax, %edx\n"
+" shr $2,%edx\n"
+" movzbl (%ecx,%edx,1),%edx\n"
+" cmp $0xaa, %dl\n" /* compare to VA_BITS8_DEFINED */
+" jne 1f\n" /* jump if not completely defined */
+" xor %eax, %eax\n" /* else return V_BITS32_DEFINED */
+" ret\n"
+".align 16\n"
+"1:\n"
+" cmp $0x55, %dl\n" /* compare to VA_BITS8_UNDEFINED */
+" jne 2f\n" /* jump if not completely undefined */
+" or $0xffffffff, %eax\n" /* else return 0xffffffff == V_BITS32_UNDEFINED */
+" ret\n"
+".align 16\n"
+"2:\n"
+" xor %ecx, %ecx\n" /* tail call mc_LOADVn_slow(a, 32, 0) */
+" mov $32, %edx\n"
+" jmp mc_LOADVn_slow\n"
+".size vgMemCheck_helperc_LOADV32le, .-vgMemCheck_helperc_LOADV32le\n"
+".previous\n"
+);
+
#else
-// Generic for all platforms except arm32-linux
+// Generic for all platforms
VG_REGPARM(1) UWord MC_(helperc_LOADV32le) ( Addr a )
{
return mc_LOADV32(a, False);
@@ -4762,8 +4837,55 @@ __asm__( /* Derived from NCode template */
".previous\n"
);
+#elif ENABLE_ASSEMBLY_HELPERS && defined(PERF_FAST_LOADV) \
+ && defined(VGP_x86_linux)
+__asm__(
+".text\n"
+".align 16\n"
+".global vgMemCheck_helperc_LOADV16le\n"
+".type vgMemCheck_helperc_LOADV16le, @function\n"
+"vgMemCheck_helperc_LOADV16le:\n"
+" test $0x1,%al\n"
+" jnz 5f\n" /* jump if not aligned */
+" mov %eax,%edx\n"
+" shr $0x10,%edx\n"
+" mov primary_map(,%edx,4),%ecx\n"
+" movzwl %ax,%edx\n"
+" shr $0x2,%edx\n"
+" movzbl (%ecx,%edx,1),%edx\n" /* dl = VA bits for 32bit */
+" cmp $0xaa,%dl\n" /* compare to VA_BITS8_DEFINED */
+" jne 2f\n" /* jump if not all 32bits defined */
+"1:\n"
+" mov $0xffff0000,%eax\n" /* V_BITS16_DEFINED | top16safe */
+" ret\n"
+".align 16\n"
+"2:\n"
+" cmp $0x55,%dl\n" /* compare to VA_BITS8_UNDEFINED */
+" jne 4f\n" /* jump if not all 32bits undefined */
+"3:\n"
+" or $0xffffffff,%eax\n" /* V_BITS16_UNDEFINED | top16safe */
+" ret\n"
+".align 16\n"
+"4:\n"
+" mov %eax,%ecx\n"
+" and $0x2,%ecx\n"
+" shl $1,%ecx\n"
+" sar %cl,%dl\n"
+" and $0xf,%dl\n"
+" cmp $0xa,%dl\n"
+" je 1b\n" /* jump if all 16bits are defined */
+" cmp $0x5,%dl\n"
+" je 3b\n" /* jump if all 16bits are undefined */
+"5:\n"
+" xor %ecx,%ecx\n" /* tail call mc_LOADVn_slow(a, 16, 0) */
+" mov $16,%edx\n"
+" jmp mc_LOADVn_slow\n"
+".size vgMemCheck_helperc_LOADV16le, .-vgMemCheck_helperc_LOADV16le \n"
+".previous\n"
+);
+
#else
-// Generic for all platforms except arm32-linux
+// Generic for all platforms except x86 and arm32-linux
VG_REGPARM(1) UWord MC_(helperc_LOADV16le) ( Addr a )
{
return mc_LOADV16(a, False);
@@ -4904,8 +5026,53 @@ __asm__( /* Derived from NCode template */
".previous\n"
);
+/* Non-generic assembly for x86-linux */
+#elif ENABLE_ASSEMBLY_HELPERS && defined(PERF_FAST_LOADV) \
+ && defined(VGP_x86_linux)
+__asm__(
+".text\n"
+".align 16\n"
+".global vgMemCheck_helperc_LOADV8\n"
+".type vgMemCheck_helperc_LOADV8, @function\n"
+"vgMemCheck_helperc_LOADV8:\n"
+" mov %eax,%edx\n"
+" shr $0x10,%edx\n"
+" mov primary_map(,%edx,4),%ecx\n"
+" movzwl %ax,%edx\n"
+" shr $0x2,%edx\n"
+" movzbl (%ecx,%edx,1),%edx\n" /* dl = VA bits for 32bit */
+" cmp $0xaa,%dl\n" /* compara to VA_BITS8_DEFINED? */
+" jne 2f\n" /* jump if not defined */
+"1:\n"
+" mov $0xffffff00,%eax\n" /* V_BITS8_DEFINED | top24safe */
+" ret\n"
+".align 16\n"
+"2:\n"
+" cmp $0x55,%dl\n" /* compare to VA_BITS8_UNDEFINED */
+" jne 4f\n" /* jump if not all 32bits are undefined */
+"3:\n"
+" or $0xffffffff,%eax\n" /* V_BITS8_UNDEFINED | top24safe */
+" ret\n"
+".align 16\n"
+"4:\n"
+" mov %eax,%ecx\n"
+" and $0x3,%ecx\n"
+" shl $1,%ecx\n"
+" sar %cl,%dl\n"
+" and $0x3,%dl\n"
+" cmp $0x2,%dl\n"
+" je 1b\n" /* jump if all 8bits are defined */
+" cmp $0x1,%dl\n"
+" je 3b\n" /* jump if all 8bits are undefined */
+" xor %ecx,%ecx\n" /* tail call to mc_LOADVn_slow(a, 8, 0) */
+" mov $0x8,%edx\n"
+" jmp mc_LOADVn_slow\n"
+".size vgMemCheck_helperc_LOADV8, .-vgMemCheck_helperc_LOADV8\n"
+".previous\n"
+);
+
#else
-// Generic for all platforms except arm32-linux
+// Generic for all platforms
VG_REGPARM(1)
UWord MC_(helperc_LOADV8) ( Addr a )
{
--
2.4.3
|
|
From: <sv...@va...> - 2015-07-03 20:07:15
|
Author: florian
Date: Fri Jul 3 21:07:08 2015
New Revision: 15392
Log:
Fix scripts to use /bin/true consistently.
Modified:
trunk/tests/check_isa-2_06_cap
trunk/tests/check_isa-2_07_cap
Modified: trunk/tests/check_isa-2_06_cap
==============================================================================
--- trunk/tests/check_isa-2_06_cap (original)
+++ trunk/tests/check_isa-2_06_cap Fri Jul 3 21:07:08 2015
@@ -2,7 +2,7 @@
# We use this script to check whether or not the processor supports Power ISA 2.06 or later.
DIR="$( cd "$( dirname "$0" )" && pwd )"
-LD_SHOW_AUXV=1 $DIR/true | grep arch_2_06 > /dev/null 2>&1
+LD_SHOW_AUXV=1 /bin/true | grep arch_2_06 > /dev/null 2>&1
if [ "$?" -ne "0" ]; then
exit 1
Modified: trunk/tests/check_isa-2_07_cap
==============================================================================
--- trunk/tests/check_isa-2_07_cap (original)
+++ trunk/tests/check_isa-2_07_cap Fri Jul 3 21:07:08 2015
@@ -3,7 +3,7 @@
# We use this script to check whether or not the processor supports
# Power ISA 2.07.
DIR="$( cd "$( dirname "$0" )" && pwd )"
-LD_SHOW_AUXV=1 $DIR/true | grep arch_2_07 > /dev/null 2>&1
+LD_SHOW_AUXV=1 /bin/true | grep arch_2_07 > /dev/null 2>&1
if [ "$?" -ne "0" ]; then
exit 1
|
|
From: Matthias S. <zz...@ge...> - 2015-07-02 19:13:11
|
There were different events using the same numbers
---
memcheck/mc_main.c | 70 +++++++++++++++++++++++++++---------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index 0d6ebcd..73778fa 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -3386,19 +3386,19 @@ static void VG_REGPARM(1) mc_die_mem_stack_160(Addr new_SP)
static void mc_new_mem_stack_w_ECU ( Addr a, SizeT len, UInt ecu )
{
UInt otag = ecu | MC_OKIND_STACK;
- PROF_EVENT(115, "new_mem_stack_w_otag");
+ PROF_EVENT(130, "new_mem_stack_w_otag");
MC_(make_mem_undefined_w_otag) ( -VG_STACK_REDZONE_SZB + a, len, otag );
}
static void mc_new_mem_stack ( Addr a, SizeT len )
{
- PROF_EVENT(115, "new_mem_stack");
+ PROF_EVENT(119, "new_mem_stack");
make_mem_undefined ( -VG_STACK_REDZONE_SZB + a, len );
}
static void mc_die_mem_stack ( Addr a, SizeT len )
{
- PROF_EVENT(125, "die_mem_stack");
+ PROF_EVENT(129, "die_mem_stack");
MC_(make_mem_noaccess) ( -VG_STACK_REDZONE_SZB + a, len );
}
@@ -4392,7 +4392,7 @@ VG_REGPARM(2) void MC_(helperc_LOADV128le) ( /*OUT*/V128* res, Addr a )
static INLINE
ULong mc_LOADV64 ( Addr a, Bool isBigEndian )
{
- PROF_EVENT(200, "mc_LOADV64");
+ PROF_EVENT(210, "mc_LOADV64");
#ifndef PERF_FAST_LOADV
return mc_LOADVn_slow( a, 64, isBigEndian );
@@ -4402,7 +4402,7 @@ ULong mc_LOADV64 ( Addr a, Bool isBigEndian )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,64) )) {
- PROF_EVENT(201, "mc_LOADV64-slow1");
+ PROF_EVENT(211, "mc_LOADV64-slow1");
return (ULong)mc_LOADVn_slow( a, 64, isBigEndian );
}
@@ -4419,7 +4419,7 @@ ULong mc_LOADV64 ( Addr a, Bool isBigEndian )
return V_BITS64_UNDEFINED;
} else {
/* Slow case: the 8 bytes are not all-defined or all-undefined. */
- PROF_EVENT(202, "mc_LOADV64-slow2");
+ PROF_EVENT(212, "mc_LOADV64-slow2");
return mc_LOADVn_slow( a, 64, isBigEndian );
}
}
@@ -4439,7 +4439,7 @@ VG_REGPARM(1) ULong MC_(helperc_LOADV64le) ( Addr a )
static INLINE
void mc_STOREV64 ( Addr a, ULong vbits64, Bool isBigEndian )
{
- PROF_EVENT(210, "mc_STOREV64");
+ PROF_EVENT(220, "mc_STOREV64");
#ifndef PERF_FAST_STOREV
// XXX: this slow case seems to be marginally faster than the fast case!
@@ -4451,7 +4451,7 @@ void mc_STOREV64 ( Addr a, ULong vbits64, Bool isBigEndian )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,64) )) {
- PROF_EVENT(211, "mc_STOREV64-slow1");
+ PROF_EVENT(221, "mc_STOREV64-slow1");
mc_STOREVn_slow( a, 64, vbits64, isBigEndian );
return;
}
@@ -4470,7 +4470,7 @@ void mc_STOREV64 ( Addr a, ULong vbits64, Bool isBigEndian )
((UShort*)(sm->vabits8))[sm_off16] = (UShort)VA_BITS16_DEFINED;
return;
}
- PROF_EVENT(232, "mc_STOREV64-slow2");
+ PROF_EVENT(222, "mc_STOREV64-slow2");
mc_STOREVn_slow( a, 64, vbits64, isBigEndian );
return;
}
@@ -4482,12 +4482,12 @@ void mc_STOREV64 ( Addr a, ULong vbits64, Bool isBigEndian )
((UShort*)(sm->vabits8))[sm_off16] = (UShort)VA_BITS16_UNDEFINED;
return;
}
- PROF_EVENT(232, "mc_STOREV64-slow3");
+ PROF_EVENT(223, "mc_STOREV64-slow3");
mc_STOREVn_slow( a, 64, vbits64, isBigEndian );
return;
}
- PROF_EVENT(212, "mc_STOREV64-slow4");
+ PROF_EVENT(224, "mc_STOREV64-slow4");
mc_STOREVn_slow( a, 64, vbits64, isBigEndian );
}
#endif
@@ -4508,7 +4508,7 @@ VG_REGPARM(1) void MC_(helperc_STOREV64le) ( Addr a, ULong vbits64 )
static INLINE
UWord mc_LOADV32 ( Addr a, Bool isBigEndian )
{
- PROF_EVENT(220, "mc_LOADV32");
+ PROF_EVENT(230, "mc_LOADV32");
#ifndef PERF_FAST_LOADV
return (UWord)mc_LOADVn_slow( a, 32, isBigEndian );
@@ -4518,7 +4518,7 @@ UWord mc_LOADV32 ( Addr a, Bool isBigEndian )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,32) )) {
- PROF_EVENT(221, "mc_LOADV32-slow1");
+ PROF_EVENT(231, "mc_LOADV32-slow1");
return (UWord)mc_LOADVn_slow( a, 32, isBigEndian );
}
@@ -4537,7 +4537,7 @@ UWord mc_LOADV32 ( Addr a, Bool isBigEndian )
return ((UWord)0xFFFFFFFF00000000ULL | (UWord)V_BITS32_UNDEFINED);
} else {
/* Slow case: the 4 bytes are not all-defined or all-undefined. */
- PROF_EVENT(222, "mc_LOADV32-slow2");
+ PROF_EVENT(232, "mc_LOADV32-slow2");
return (UWord)mc_LOADVn_slow( a, 32, isBigEndian );
}
}
@@ -4598,7 +4598,7 @@ VG_REGPARM(1) UWord MC_(helperc_LOADV32le) ( Addr a )
static INLINE
void mc_STOREV32 ( Addr a, UWord vbits32, Bool isBigEndian )
{
- PROF_EVENT(230, "mc_STOREV32");
+ PROF_EVENT(240, "mc_STOREV32");
#ifndef PERF_FAST_STOREV
mc_STOREVn_slow( a, 32, (ULong)vbits32, isBigEndian );
@@ -4608,7 +4608,7 @@ void mc_STOREV32 ( Addr a, UWord vbits32, Bool isBigEndian )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,32) )) {
- PROF_EVENT(231, "mc_STOREV32-slow1");
+ PROF_EVENT(241, "mc_STOREV32-slow1");
mc_STOREVn_slow( a, 32, (ULong)vbits32, isBigEndian );
return;
}
@@ -4627,7 +4627,7 @@ void mc_STOREV32 ( Addr a, UWord vbits32, Bool isBigEndian )
sm->vabits8[sm_off] = (UInt)VA_BITS8_DEFINED;
return;
}
- PROF_EVENT(232, "mc_STOREV32-slow2");
+ PROF_EVENT(242, "mc_STOREV32-slow2");
mc_STOREVn_slow( a, 32, (ULong)vbits32, isBigEndian );
return;
}
@@ -4639,12 +4639,12 @@ void mc_STOREV32 ( Addr a, UWord vbits32, Bool isBigEndian )
sm->vabits8[sm_off] = (UInt)VA_BITS8_UNDEFINED;
return;
}
- PROF_EVENT(233, "mc_STOREV32-slow3");
+ PROF_EVENT(243, "mc_STOREV32-slow3");
mc_STOREVn_slow( a, 32, (ULong)vbits32, isBigEndian );
return;
}
- PROF_EVENT(234, "mc_STOREV32-slow4");
+ PROF_EVENT(244, "mc_STOREV32-slow4");
mc_STOREVn_slow( a, 32, (ULong)vbits32, isBigEndian );
}
#endif
@@ -4665,7 +4665,7 @@ VG_REGPARM(2) void MC_(helperc_STOREV32le) ( Addr a, UWord vbits32 )
static INLINE
UWord mc_LOADV16 ( Addr a, Bool isBigEndian )
{
- PROF_EVENT(240, "mc_LOADV16");
+ PROF_EVENT(250, "mc_LOADV16");
#ifndef PERF_FAST_LOADV
return (UWord)mc_LOADVn_slow( a, 16, isBigEndian );
@@ -4675,7 +4675,7 @@ UWord mc_LOADV16 ( Addr a, Bool isBigEndian )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,16) )) {
- PROF_EVENT(241, "mc_LOADV16-slow1");
+ PROF_EVENT(251, "mc_LOADV16-slow1");
return (UWord)mc_LOADVn_slow( a, 16, isBigEndian );
}
@@ -4695,7 +4695,7 @@ UWord mc_LOADV16 ( Addr a, Bool isBigEndian )
else if (vabits4 == VA_BITS4_UNDEFINED) { return V_BITS16_UNDEFINED; }
else {
/* Slow case: the two bytes are not all-defined or all-undefined. */
- PROF_EVENT(242, "mc_LOADV16-slow2");
+ PROF_EVENT(252, "mc_LOADV16-slow2");
return (UWord)mc_LOADVn_slow( a, 16, isBigEndian );
}
}
@@ -4786,7 +4786,7 @@ Bool accessible_vabits4_in_vabits8 ( Addr a, UChar vabits8 )
static INLINE
void mc_STOREV16 ( Addr a, UWord vbits16, Bool isBigEndian )
{
- PROF_EVENT(250, "mc_STOREV16");
+ PROF_EVENT(260, "mc_STOREV16");
#ifndef PERF_FAST_STOREV
mc_STOREVn_slow( a, 16, (ULong)vbits16, isBigEndian );
@@ -4796,7 +4796,7 @@ void mc_STOREV16 ( Addr a, UWord vbits16, Bool isBigEndian )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,16) )) {
- PROF_EVENT(251, "mc_STOREV16-slow1");
+ PROF_EVENT(261, "mc_STOREV16-slow1");
mc_STOREVn_slow( a, 16, (ULong)vbits16, isBigEndian );
return;
}
@@ -4817,7 +4817,7 @@ void mc_STOREV16 ( Addr a, UWord vbits16, Bool isBigEndian )
&(sm->vabits8[sm_off]) );
return;
}
- PROF_EVENT(232, "mc_STOREV16-slow2");
+ PROF_EVENT(262, "mc_STOREV16-slow2");
mc_STOREVn_slow( a, 16, (ULong)vbits16, isBigEndian );
}
if (V_BITS16_UNDEFINED == vbits16) {
@@ -4830,12 +4830,12 @@ void mc_STOREV16 ( Addr a, UWord vbits16, Bool isBigEndian )
&(sm->vabits8[sm_off]) );
return;
}
- PROF_EVENT(233, "mc_STOREV16-slow3");
+ PROF_EVENT(263, "mc_STOREV16-slow3");
mc_STOREVn_slow( a, 16, (ULong)vbits16, isBigEndian );
return;
}
- PROF_EVENT(234, "mc_STOREV16-slow4");
+ PROF_EVENT(264, "mc_STOREV16-slow4");
mc_STOREVn_slow( a, 16, (ULong)vbits16, isBigEndian );
}
#endif
@@ -4909,7 +4909,7 @@ __asm__( /* Derived from NCode template */
VG_REGPARM(1)
UWord MC_(helperc_LOADV8) ( Addr a )
{
- PROF_EVENT(260, "mc_LOADV8");
+ PROF_EVENT(270, "mc_LOADV8");
#ifndef PERF_FAST_LOADV
return (UWord)mc_LOADVn_slow( a, 8, False/*irrelevant*/ );
@@ -4919,7 +4919,7 @@ UWord MC_(helperc_LOADV8) ( Addr a )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,8) )) {
- PROF_EVENT(261, "mc_LOADV8-slow1");
+ PROF_EVENT(271, "mc_LOADV8-slow1");
return (UWord)mc_LOADVn_slow( a, 8, False/*irrelevant*/ );
}
@@ -4939,7 +4939,7 @@ UWord MC_(helperc_LOADV8) ( Addr a )
else if (vabits2 == VA_BITS2_UNDEFINED) { return V_BITS8_UNDEFINED; }
else {
/* Slow case: the byte is not all-defined or all-undefined. */
- PROF_EVENT(262, "mc_LOADV8-slow2");
+ PROF_EVENT(272, "mc_LOADV8-slow2");
return (UWord)mc_LOADVn_slow( a, 8, False/*irrelevant*/ );
}
}
@@ -4952,7 +4952,7 @@ UWord MC_(helperc_LOADV8) ( Addr a )
VG_REGPARM(2)
void MC_(helperc_STOREV8) ( Addr a, UWord vbits8 )
{
- PROF_EVENT(270, "mc_STOREV8");
+ PROF_EVENT(280, "mc_STOREV8");
#ifndef PERF_FAST_STOREV
mc_STOREVn_slow( a, 8, (ULong)vbits8, False/*irrelevant*/ );
@@ -4962,7 +4962,7 @@ void MC_(helperc_STOREV8) ( Addr a, UWord vbits8 )
SecMap* sm;
if (UNLIKELY( UNALIGNED_OR_HIGH(a,8) )) {
- PROF_EVENT(271, "mc_STOREV8-slow1");
+ PROF_EVENT(281, "mc_STOREV8-slow1");
mc_STOREVn_slow( a, 8, (ULong)vbits8, False/*irrelevant*/ );
return;
}
@@ -5018,7 +5018,7 @@ void MC_(helperc_STOREV8) ( Addr a, UWord vbits8 )
&(sm->vabits8[sm_off]) );
return;
}
- PROF_EVENT(232, "mc_STOREV8-slow2");
+ PROF_EVENT(282, "mc_STOREV8-slow2");
mc_STOREVn_slow( a, 8, (ULong)vbits8, False/*irrelevant*/ );
return;
}
@@ -5034,13 +5034,13 @@ void MC_(helperc_STOREV8) ( Addr a, UWord vbits8 )
&(sm->vabits8[sm_off]) );
return;
}
- PROF_EVENT(233, "mc_STOREV8-slow3");
+ PROF_EVENT(283, "mc_STOREV8-slow3");
mc_STOREVn_slow( a, 8, (ULong)vbits8, False/*irrelevant*/ );
return;
}
// Partially defined word
- PROF_EVENT(234, "mc_STOREV8-slow4");
+ PROF_EVENT(284, "mc_STOREV8-slow4");
mc_STOREVn_slow( a, 8, (ULong)vbits8, False/*irrelevant*/ );
}
#endif
--
2.4.3
|
|
From: Matthias S. <zz...@ge...> - 2015-07-02 19:13:07
|
Compiling for x86 on amd64 needs -m32. --- none/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index dd5959e..3ce7a45 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -258,10 +258,10 @@ else nestedfns_CFLAGS = $(AM_CFLAGS) mq_LDADD = -lrt endif -libvex_test_CFLAGS = @FLAG_FSANITIZE@ +libvex_test_CFLAGS = $(AM_CFLAGS) @FLAG_FSANITIZE@ libvex_test_LDADD = ../../VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \ @LIB_UBSAN@ -libvexmultiarch_test_CFLAGS= @FLAG_FSANITIZE@ +libvexmultiarch_test_CFLAGS= $(AM_CFLAGS) @FLAG_FSANITIZE@ libvexmultiarch_test_LDADD = \ ../../VEX/libvexmultiarch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \ ../../VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a @LIB_UBSAN@ -- 2.4.3 |
|
From: <sv...@va...> - 2015-07-01 23:05:06
|
Author: rhyskidd
Date: Thu Jul 2 00:04:58 2015
New Revision: 15391
Log:
Fix Memcheck: the 'impossible' happened: unexpected size for Addr (OSX/wine)
bz#347988
== 345929
On OS X 10.10
Before:
== 592 tests, 222 stderr failures, 14 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 592 tests, 222 stderr failures, 14 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/NEWS
trunk/memcheck/mc_errors.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Jul 2 00:04:58 2015
@@ -234,6 +234,8 @@
347978 Remove bash dependencies where not needed
347982 Fix undefined symbols for architecture x86_64: "_global", referenced from:
_test_so_global in tls_so-tls_so.o
+347988 Fix Memcheck: the 'impossible' happened: unexpected size for Addr (OSX/wine)
+ == 345929
348102 Patch updating v4l2 API support
348247 jno jumps wrongly when overflow is not set
348565 Fix detection of command line option availability for clang
Modified: trunk/memcheck/mc_errors.c
==============================================================================
--- trunk/memcheck/mc_errors.c (original)
+++ trunk/memcheck/mc_errors.c Thu Jul 2 00:04:58 2015
@@ -1256,13 +1256,13 @@
CoreMemSupp, // Memory errors in core (pthread ops, signal handling)
// Undefined value errors of given size
- Value1Supp, Value2Supp, Value4Supp, Value8Supp, Value16Supp,
+ Value1Supp, Value2Supp, Value4Supp, Value8Supp, Value16Supp, Value32Supp,
// Undefined value error in conditional.
CondSupp,
// Unaddressable read/write attempt at given size
- Addr1Supp, Addr2Supp, Addr4Supp, Addr8Supp, Addr16Supp,
+ Addr1Supp, Addr2Supp, Addr4Supp, Addr8Supp, Addr16Supp, Addr32Supp,
JumpSupp, // Jump to unaddressable target
FreeSupp, // Invalid or mismatching free
@@ -1285,6 +1285,7 @@
else if (VG_STREQ(name, "Addr4")) skind = Addr4Supp;
else if (VG_STREQ(name, "Addr8")) skind = Addr8Supp;
else if (VG_STREQ(name, "Addr16")) skind = Addr16Supp;
+ else if (VG_STREQ(name, "Addr32")) skind = Addr32Supp;
else if (VG_STREQ(name, "Jump")) skind = JumpSupp;
else if (VG_STREQ(name, "Free")) skind = FreeSupp;
else if (VG_STREQ(name, "Leak")) skind = LeakSupp;
@@ -1297,6 +1298,7 @@
else if (VG_STREQ(name, "Value4")) skind = Value4Supp;
else if (VG_STREQ(name, "Value8")) skind = Value8Supp;
else if (VG_STREQ(name, "Value16")) skind = Value16Supp;
+ else if (VG_STREQ(name, "Value32")) skind = Value32Supp;
else if (VG_STREQ(name, "FishyValue")) skind = FishyValueSupp;
else
return False;
@@ -1413,6 +1415,7 @@
case Value4Supp: su_szB = 4; goto value_case;
case Value8Supp: su_szB = 8; goto value_case;
case Value16Supp:su_szB =16; goto value_case;
+ case Value32Supp:su_szB =32; goto value_case;
value_case:
return (ekind == Err_Value && extra->Err.Value.szB == su_szB);
@@ -1424,6 +1427,7 @@
case Addr4Supp: su_szB = 4; goto addr_case;
case Addr8Supp: su_szB = 8; goto addr_case;
case Addr16Supp:su_szB =16; goto addr_case;
+ case Addr32Supp:su_szB =32; goto addr_case;
addr_case:
return (ekind == Err_Addr && extra->Err.Addr.szB == su_szB);
@@ -1495,6 +1499,7 @@
case 4: return "Addr4";
case 8: return "Addr8";
case 16: return "Addr16";
+ case 32: return "Addr32";
default: VG_(tool_panic)("unexpected size for Addr");
}
}
@@ -1506,6 +1511,7 @@
case 4: return "Value4";
case 8: return "Value8";
case 16: return "Value16";
+ case 32: return "Value32";
default: VG_(tool_panic)("unexpected size for Value");
}
}
|
|
From: <sv...@va...> - 2015-07-01 21:29:23
|
Author: carll
Date: Wed Jul 1 22:29:12 2015
New Revision: 15390
Log:
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.
Modified:
trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest
trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest
trunk/none/tests/ppc32/bug129390-ppc32.vgtest
trunk/none/tests/ppc32/jm-vmx.vgtest
trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest
trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest
trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest
trunk/none/tests/ppc32/testVMX.vgtest
trunk/none/tests/ppc32/test_dfp1.vgtest
trunk/none/tests/ppc32/test_dfp2.vgtest
trunk/none/tests/ppc32/test_dfp3.vgtest
trunk/none/tests/ppc32/test_dfp4.vgtest
trunk/none/tests/ppc32/test_dfp5.vgtest
trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest
trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest
trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest
trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest
trunk/none/tests/ppc32/test_tm.vgtest
trunk/none/tests/ppc32/test_touch_tm.vgtest
trunk/none/tests/ppc64/jm-vmx.vgtest
trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest
trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest
trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest
trunk/none/tests/ppc64/test_dfp1.vgtest
trunk/none/tests/ppc64/test_dfp2.vgtest
trunk/none/tests/ppc64/test_dfp3.vgtest
trunk/none/tests/ppc64/test_dfp4.vgtest
trunk/none/tests/ppc64/test_dfp5.vgtest
trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest
trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest
trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest
trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest
trunk/none/tests/ppc64/test_tm.vgtest
trunk/none/tests/ppc64/test_touch_tm.vgtest
trunk/tests/Makefile.am
Modified: trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest
==============================================================================
--- trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest (original)
+++ trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,3 +1,3 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: power_ISA2_07
vgopts:
Modified: trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest
==============================================================================
--- trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest (original)
+++ trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,3 +1,3 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: power_ISA2_07
vgopts:
Modified: trunk/none/tests/ppc32/bug129390-ppc32.vgtest
==============================================================================
--- trunk/none/tests/ppc32/bug129390-ppc32.vgtest (original)
+++ trunk/none/tests/ppc32/bug129390-ppc32.vgtest Wed Jul 1 22:29:12 2015
@@ -1,3 +1,3 @@
-prereq: ../../../tests/check_ppc64_auxv_cap altivec
+prereq: ../../../tests/check_vmx_cap
prog: bug129390-ppc32
vgopts: -q
Modified: trunk/none/tests/ppc32/jm-vmx.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm-vmx.vgtest (original)
+++ trunk/none/tests/ppc32/jm-vmx.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap altivec
+prereq: ../../../tests/check_vmx_cap
prog: jm-insns -a
Modified: trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part1 -f
Modified: trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part1 -i
Modified: trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07 && ! ../../../tests/check_ppc64le_cap
+prereq: ../../../tests/check_isa-2_07_cap && ! ../../../tests/check_ppc64le_cap
prog: test_isa_2_07_part1 -a
Modified: trunk/none/tests/ppc32/testVMX.vgtest
==============================================================================
--- trunk/none/tests/ppc32/testVMX.vgtest (original)
+++ trunk/none/tests/ppc32/testVMX.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap altivec
+prereq: ../../../tests/check_vmx_cap
prog: testVMX
Modified: trunk/none/tests/ppc32/test_dfp1.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp1.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp1.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp1
Modified: trunk/none/tests/ppc32/test_dfp2.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp2.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp2.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp2
Modified: trunk/none/tests/ppc32/test_dfp3.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp3.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp3.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp3
Modified: trunk/none/tests/ppc32/test_dfp4.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp4.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp4.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp4
Modified: trunk/none/tests/ppc32/test_dfp5.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp5.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp5.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp5
Modified: trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
+prereq: ../../../tests/check_isa-2_06_cap
prog: test_isa_2_06_part1
Modified: trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
+prereq: ../../../tests/check_isa-2_06_cap
prog: test_isa_2_06_part2
Modified: trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
+prereq: ../../../tests/check_isa-2_06_cap
prog: test_isa_2_06_part3
Modified: trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part2
Modified: trunk/none/tests/ppc32/test_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_tm.vgtest (original)
+++ trunk/none/tests/ppc32/test_tm.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap htm
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_tm
Modified: trunk/none/tests/ppc32/test_touch_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_touch_tm.vgtest (original)
+++ trunk/none/tests/ppc32/test_touch_tm.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap htm
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_touch_tm
Modified: trunk/none/tests/ppc64/jm-vmx.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm-vmx.vgtest (original)
+++ trunk/none/tests/ppc64/jm-vmx.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap altivec
+prereq: ../../../tests/check_vmx_cap
prog: jm-insns -a
Modified: trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part1 -f
Modified: trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part1 -i
Modified: trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part1 -a
Modified: trunk/none/tests/ppc64/test_dfp1.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp1.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp1.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp1
Modified: trunk/none/tests/ppc64/test_dfp2.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp2.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp2.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp2
Modified: trunk/none/tests/ppc64/test_dfp3.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp3.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp3.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp3
Modified: trunk/none/tests/ppc64/test_dfp4.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp4.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp4.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp4
Modified: trunk/none/tests/ppc64/test_dfp5.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp5.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp5.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap dfp
+prereq: ../../../tests/check_dfp_cap
prog: test_dfp5
Modified: trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
+prereq: ../../../tests/check_isa-2_06_cap
prog: test_isa_2_06_part1
Modified: trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
+prereq: ../../../tests/check_isa-2_06_cap
prog: test_isa_2_06_part2
Modified: trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
+prereq: ../../../tests/check_isa-2_06_cap
prog: test_isa_2_06_part3
Modified: trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_isa_2_07_part2
Modified: trunk/none/tests/ppc64/test_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_tm.vgtest (original)
+++ trunk/none/tests/ppc64/test_tm.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap htm
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_tm
Modified: trunk/none/tests/ppc64/test_touch_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_touch_tm.vgtest (original)
+++ trunk/none/tests/ppc64/test_touch_tm.vgtest Wed Jul 1 22:29:12 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_ppc64_auxv_cap htm
+prereq: ../../../tests/check_isa-2_07_cap
prog: test_touch_tm
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Wed Jul 1 22:29:12 2015
@@ -8,7 +8,6 @@
check_makefile_consistency \
check_dfp_cap \
check_vmx_cap \
- check_ppc64_auxv_cap \
filter_addresses \
filter_discards \
filter_libc \
|
|
From: <sv...@va...> - 2015-07-01 19:44:22
|
Author: carll
Date: Wed Jul 1 20:44:13 2015
New Revision: 15389
Log:
Patch 2 of 6
Update all vgtest files to reference the new capability check helper.
This includes a few adjustments to ensure the test is checking for
the proper capability. (i.e. htm versus isa_2_07).
Patch 1 valgrind commit id 15388.
The bugzilla for this commit is 349790
Patch submitted by Will Schmidt <wil...@vn...>
Reviewed and tested by Carl Love <ce...@ib...>
Modified:
trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest
trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest
trunk/none/tests/ppc32/bug129390-ppc32.vgtest
trunk/none/tests/ppc32/jm-vmx.vgtest
trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest
trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest
trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest
trunk/none/tests/ppc32/testVMX.vgtest
trunk/none/tests/ppc32/test_dfp1.vgtest
trunk/none/tests/ppc32/test_dfp2.vgtest
trunk/none/tests/ppc32/test_dfp3.vgtest
trunk/none/tests/ppc32/test_dfp4.vgtest
trunk/none/tests/ppc32/test_dfp5.vgtest
trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest
trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest
trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest
trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest
trunk/none/tests/ppc32/test_tm.vgtest
trunk/none/tests/ppc32/test_touch_tm.vgtest
trunk/none/tests/ppc64/jm-vmx.vgtest
trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest
trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest
trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest
trunk/none/tests/ppc64/test_dfp1.vgtest
trunk/none/tests/ppc64/test_dfp2.vgtest
trunk/none/tests/ppc64/test_dfp3.vgtest
trunk/none/tests/ppc64/test_dfp4.vgtest
trunk/none/tests/ppc64/test_dfp5.vgtest
trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest
trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest
trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest
trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest
trunk/none/tests/ppc64/test_tm.vgtest
trunk/none/tests/ppc64/test_touch_tm.vgtest
Modified: trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest
==============================================================================
--- trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest (original)
+++ trunk/memcheck/tests/ppc32/power_ISA2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,3 +1,3 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: power_ISA2_07
vgopts:
Modified: trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest
==============================================================================
--- trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest (original)
+++ trunk/memcheck/tests/ppc64/power_ISA2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,3 +1,3 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: power_ISA2_07
vgopts:
Modified: trunk/none/tests/ppc32/bug129390-ppc32.vgtest
==============================================================================
--- trunk/none/tests/ppc32/bug129390-ppc32.vgtest (original)
+++ trunk/none/tests/ppc32/bug129390-ppc32.vgtest Wed Jul 1 20:44:13 2015
@@ -1,3 +1,3 @@
-prereq: ../../../tests/check_vmx_cap
+prereq: ../../../tests/check_ppc64_auxv_cap altivec
prog: bug129390-ppc32
vgopts: -q
Modified: trunk/none/tests/ppc32/jm-vmx.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm-vmx.vgtest (original)
+++ trunk/none/tests/ppc32/jm-vmx.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_vmx_cap
+prereq: ../../../tests/check_ppc64_auxv_cap altivec
prog: jm-insns -a
Modified: trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc32/jm_fp_isa_2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part1 -f
Modified: trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc32/jm_int_isa_2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part1 -i
Modified: trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc32/jm_vec_isa_2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap && ! ../../../tests/check_ppc64le_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07 && ! ../../../tests/check_ppc64le_cap
prog: test_isa_2_07_part1 -a
Modified: trunk/none/tests/ppc32/testVMX.vgtest
==============================================================================
--- trunk/none/tests/ppc32/testVMX.vgtest (original)
+++ trunk/none/tests/ppc32/testVMX.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_vmx_cap
+prereq: ../../../tests/check_ppc64_auxv_cap altivec
prog: testVMX
Modified: trunk/none/tests/ppc32/test_dfp1.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp1.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp1.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp1
Modified: trunk/none/tests/ppc32/test_dfp2.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp2.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp2.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp2
Modified: trunk/none/tests/ppc32/test_dfp3.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp3.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp3.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp3
Modified: trunk/none/tests/ppc32/test_dfp4.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp4.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp4.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp4
Modified: trunk/none/tests/ppc32/test_dfp5.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_dfp5.vgtest (original)
+++ trunk/none/tests/ppc32/test_dfp5.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp5
Modified: trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_06_part1.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_06_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
prog: test_isa_2_06_part1
Modified: trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_06_part2.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_06_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
prog: test_isa_2_06_part2
Modified: trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_06_part3.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_06_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
prog: test_isa_2_06_part3
Modified: trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest (original)
+++ trunk/none/tests/ppc32/test_isa_2_07_part2.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part2
Modified: trunk/none/tests/ppc32/test_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_tm.vgtest (original)
+++ trunk/none/tests/ppc32/test_tm.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap htm
prog: test_tm
Modified: trunk/none/tests/ppc32/test_touch_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc32/test_touch_tm.vgtest (original)
+++ trunk/none/tests/ppc32/test_touch_tm.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap htm
prog: test_touch_tm
Modified: trunk/none/tests/ppc64/jm-vmx.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm-vmx.vgtest (original)
+++ trunk/none/tests/ppc64/jm-vmx.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_vmx_cap
+prereq: ../../../tests/check_ppc64_auxv_cap altivec
prog: jm-insns -a
Modified: trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc64/jm_fp_isa_2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part1 -f
Modified: trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc64/jm_int_isa_2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part1 -i
Modified: trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest
==============================================================================
--- trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest (original)
+++ trunk/none/tests/ppc64/jm_vec_isa_2_07.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part1 -a
Modified: trunk/none/tests/ppc64/test_dfp1.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp1.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp1.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp1
Modified: trunk/none/tests/ppc64/test_dfp2.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp2.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp2.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp2
Modified: trunk/none/tests/ppc64/test_dfp3.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp3.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp3.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp3
Modified: trunk/none/tests/ppc64/test_dfp4.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp4.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp4.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp4
Modified: trunk/none/tests/ppc64/test_dfp5.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_dfp5.vgtest (original)
+++ trunk/none/tests/ppc64/test_dfp5.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_dfp_cap
+prereq: ../../../tests/check_ppc64_auxv_cap dfp
prog: test_dfp5
Modified: trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_06_part1.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_06_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
prog: test_isa_2_06_part1
Modified: trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_06_part2.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_06_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
prog: test_isa_2_06_part2
Modified: trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_06_part3.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_06_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_06
prog: test_isa_2_06_part3
Modified: trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest (original)
+++ trunk/none/tests/ppc64/test_isa_2_07_part2.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07
prog: test_isa_2_07_part2
Modified: trunk/none/tests/ppc64/test_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_tm.vgtest (original)
+++ trunk/none/tests/ppc64/test_tm.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap htm
prog: test_tm
Modified: trunk/none/tests/ppc64/test_touch_tm.vgtest
==============================================================================
--- trunk/none/tests/ppc64/test_touch_tm.vgtest (original)
+++ trunk/none/tests/ppc64/test_touch_tm.vgtest Wed Jul 1 20:44:13 2015
@@ -1,2 +1,2 @@
-prereq: ../../../tests/check_isa-2_07_cap
+prereq: ../../../tests/check_ppc64_auxv_cap htm
prog: test_touch_tm
|
|
From: <sv...@va...> - 2015-07-01 18:48:55
|
Author: carll
Date: Wed Jul 1 19:48:48 2015
New Revision: 15388
Log:
Patch 1 of 6
Rework the aux vector hwcap capability checking utilities.
This is meant to consolidate a number of existing _cap
checking scripts, and allow a better way of checking for
additional capabilites.
The bugzilla for this commit is 349790
Patch submitted by Will Schmidt <wil...@vn...>
Reviewed and tested by Carl Love <ce...@ib...>
Modified:
trunk/tests/Makefile.am
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Wed Jul 1 19:48:48 2015
@@ -8,6 +8,7 @@
check_makefile_consistency \
check_dfp_cap \
check_vmx_cap \
+ check_ppc64_auxv_cap \
filter_addresses \
filter_discards \
filter_libc \
|
|
From: yixiaoxian <yix...@gm...> - 2015-07-01 15:00:35
|
Hello,
I am new to write a new Valgrind tool.
According to lk_main.c, I wrote a tool to print all executed IRSB with
function ppIRSB()
My instrument code is like:
0 while (i < sb_in->stmts_used && sb_in->stmts[i]->tag != Ist_IMark){
1 addStmtToIRSB(sb_out, sb_in->stmts[i]);
2 i++;
3 }
4
5
6 if (vge->base[0] >= low_addr && vge->base[0] < high_addr){
7 func_addr = VG_(fnptr_to_fnentry)(&print_IRSB);
8 argv_lst = mkIRExprVec_1(mkIRExpr_HWord((HWord)sb_in));
9 di = unsafeIRDirty_0_N(0, "print_IRSB", func_addr, argv_lst);
10 addStmtToIRSB(sb_out, IRStmt_Dirty(di));
11 }
12
13 for (; i < sb_in->stmts_used; i++)
14 addStmtToIRSB(sb_out, sb_in->stmts[i]);
And the function print_IRSB is:
0 static void print_IRSB(IRSB *sb){
1 ppIRSB(sb);
2 }
I thought the code should work, and at first it did print the executed IRSB,
but after some time it returned an error:
PUT(24) = t8
STle(t8) = 0x80498C2:I32
PUT(68) = 0x80492F0:I32
------ IMark(0x80492F0, 6, 0) ------
t3 = LDle:I32(0x80610D4:I32)
PUT(68) = t3; exit-Boring
}
IRSB {
t0:I32 t1:I32 t2:I32 t3:I32 t4:I32 t5:I32 t6:I1 t7:I32
t8:I32 t9:I32 t10:I32 t11:I32 t12:I32 t13:I32 t14:I1 t15:I1
------ IMark(0x80498C2, 3, 0) ------
t2 = GET:I32(32)
t0 = Add32(t2,0x1:I32)
PUT(32) = t0
------ IMark(0x80498C5, 3, 0) ------
IR-NoOp
PUT(40) = 0x6:I32
PUT(44) = t0
PUT(48) = 0x6:I32
PUT(52) = 0x0:I32
PUT(68) = 0x80498C8:I32
------ IMark(0x80498C8, 2, 0) ------
t14 = CmpEQ32(t0,0x6:I32)
t13 = 1Uto32(t14)
t11 = t13
t15 = 32to1(t11)
t6 = t15
if (t6) { PUT(68) = 0x80498CA:I32; exit-Boring }
PUT(68) = 0x8049890:I32; exit-Boring
}
IRSB {
t0:ty = 0x1E03
vex: the `impossible' happened:
ppIRType
vex storage: T total 27765808 bytes allocated
vex storage: P total 432 bytes allocated
valgrind: the 'impossible' happened:
LibVEX called failure_exit().
host stacktrace:
==836== at 0x380B5196: show_sched_status_wrk (m_libcassert.c:341)
==836== by 0x380B52D6: report_and_quit (m_libcassert.c:413)
==836== by 0x380B54C5: vgPlain_core_panic_at (m_libcassert.c:489)
==836== by 0x380B54F6: vgPlain_core_panic (m_libcassert.c:499)
==836== by 0x3801D703: failure_exit (m_translate.c:740)
==836== by 0x380EB8BC: vpanic (main_util.c:231)
==836== by 0x380EC77D: ppIRType (ir_defs.c:67)
==836== by 0x380F291F: ppIRTypeEnv (ir_defs.c:1635)
==836== by 0x380F2990: ppIRSB (ir_defs.c:1649)
==836== by 0x627664AB: ???
sched status:
running_tid=1
Thread 1: status = VgTs_Runnable (lwpid 836)
==836== at 0x8049890: main (gzip.c:1836)
It broke down when printing the type environments, and function ppIRType
became "impossible".
So what's wrong with the code?
Thank you for answering!
--
View this message in context: http://valgrind.10908.n7.nabble.com/How-to-print-executed-IRSB-tp55024.html
Sent from the Valgrind - Dev mailing list archive at Nabble.com.
|
|
From: <sv...@va...> - 2015-07-01 11:30:09
|
Author: florian
Date: Wed Jul 1 12:30:02 2015
New Revision: 3159
Log:
Fix condition to avoid that decode[] is indexed out-of-bounds.
Spotted by Coverity.
Modified:
trunk/priv/host_tilegx_defs.c
Modified: trunk/priv/host_tilegx_defs.c
==============================================================================
--- trunk/priv/host_tilegx_defs.c (original)
+++ trunk/priv/host_tilegx_defs.c Wed Jul 1 12:30:02 2015
@@ -1306,7 +1306,7 @@
Int n, k, bundled = 0;
- for(k = 0; decode[k].opcode && (k <TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE);
+ for(k = 0; (k < TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE) && decode[k].opcode;
k++) {
if (decode[k].opcode->mnemonic != TILEGX_OPC_FNOP)
bundled++;
@@ -1317,7 +1317,7 @@
vex_printf("{ ");
n = bundled;
- for(k = 0; decode[k].opcode && (k <TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE);
+ for(k = 0; (k < TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE) && decode[k].opcode;
k++) {
if (decode[k].opcode->mnemonic == TILEGX_OPC_FNOP)
continue;
|
|
From: <sv...@va...> - 2015-07-01 11:07:10
|
Author: florian
Date: Wed Jul 1 12:07:03 2015
New Revision: 3158
Log:
Remove unused computations. Spotted by Coverity.
Modified:
trunk/priv/host_x86_defs.c
Modified: trunk/priv/host_x86_defs.c
==============================================================================
--- trunk/priv/host_x86_defs.c (original)
+++ trunk/priv/host_x86_defs.c Wed Jul 1 12:07:03 2015
@@ -3463,12 +3463,12 @@
p[2] = imm32 & 0xFF; imm32 >>= 8;
p[3] = imm32 & 0xFF; imm32 >>= 8;
p[4] = imm32 & 0xFF; imm32 >>= 8;
- p[5] = imm32 & 0xFF; imm32 >>= 8;
+ p[5] = imm32 & 0xFF;
imm32 = 4 + (UInt)(Addr)location_of_counter;
p[9] = imm32 & 0xFF; imm32 >>= 8;
p[10] = imm32 & 0xFF; imm32 >>= 8;
p[11] = imm32 & 0xFF; imm32 >>= 8;
- p[12] = imm32 & 0xFF; imm32 >>= 8;
+ p[12] = imm32 & 0xFF;
VexInvalRange vir = { (HWord)place_to_patch, 14 };
return vir;
}
|
|
From: Philippe W. <phi...@sk...> - 2015-07-01 08:03:04
|
On Fri, 2015-06-26 at 03:19 +0200, Lukasz Marek wrote: > For now I have 2 questions, I hope you don't mind, they may seem trivial > for you, but can't find answer myself. > 1. does result of VG_(record_ExeContext) have to be freed in some way? No, once created, exe context are 'permanent'. > 2. is there way to check if valgrind's tool have some leaks? Running > valgrind under valgrind? :) Yes, see README_DEVELOPERS, section Self-hosting Philippe |