]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
PowerPC: added expected output files for memcheck/tests/varinfo[1-6], based
authorBart Van Assche <bvanassche@acm.org>
Sat, 18 Sep 2010 13:34:23 +0000 (13:34 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 18 Sep 2010 13:34:23 +0000 (13:34 +0000)
on a patch supplied by Maynard Johnson. See also #247526.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11364

memcheck/tests/Makefile.am
memcheck/tests/varinfo1.stderr.exp-ppc64 [new file with mode: 0644]
memcheck/tests/varinfo2.stderr.exp-ppc64 [new file with mode: 0644]
memcheck/tests/varinfo3.stderr.exp-ppc64 [new file with mode: 0644]
memcheck/tests/varinfo4.stderr.exp-ppc64 [new file with mode: 0644]
memcheck/tests/varinfo5.stderr.exp-ppc64 [new file with mode: 0644]
memcheck/tests/varinfo6.stderr.exp-ppc64 [new file with mode: 0644]

index 3c1d2bc34763a79253cb43044a856f77a97cbbe4..8af36038d8589b6fa621ac06aa79fd6938dc1160 100644 (file)
@@ -171,12 +171,12 @@ EXTRA_DIST = \
        trivialleak.stderr.exp trivialleak.vgtest \
        unit_libcbase.stderr.exp unit_libcbase.vgtest \
        unit_oset.stderr.exp unit_oset.stdout.exp unit_oset.vgtest \
-       varinfo1.vgtest varinfo1.stdout.exp varinfo1.stderr.exp \
-       varinfo2.vgtest varinfo2.stdout.exp varinfo2.stderr.exp \
-       varinfo3.vgtest varinfo3.stdout.exp varinfo3.stderr.exp \
-       varinfo4.vgtest varinfo4.stdout.exp varinfo4.stderr.exp \
-       varinfo5.vgtest varinfo5.stdout.exp varinfo5.stderr.exp \
-       varinfo6.vgtest varinfo6.stdout.exp varinfo6.stderr.exp \
+       varinfo1.vgtest varinfo1.stdout.exp varinfo1.stderr.exp varinfo1.stderr.exp-ppc64\
+       varinfo2.vgtest varinfo2.stdout.exp varinfo2.stderr.exp varinfo2.stderr.exp-ppc64\
+       varinfo3.vgtest varinfo3.stdout.exp varinfo3.stderr.exp varinfo3.stderr.exp-ppc64\
+       varinfo4.vgtest varinfo4.stdout.exp varinfo4.stderr.exp varinfo4.stderr.exp-ppc64\
+       varinfo5.vgtest varinfo5.stdout.exp varinfo5.stderr.exp varinfo5.stderr.exp-ppc64\
+       varinfo6.vgtest varinfo6.stdout.exp varinfo6.stderr.exp varinfo6.stderr.exp-ppc64\
        vcpu_bz2.stdout.exp vcpu_bz2.stderr.exp vcpu_bz2.vgtest \
        vcpu_fbench.stdout.exp vcpu_fbench.stderr.exp vcpu_fbench.vgtest \
        vcpu_fnfns.stdout.exp vcpu_fnfns.stdout.exp-glibc28-amd64 \
diff --git a/memcheck/tests/varinfo1.stderr.exp-ppc64 b/memcheck/tests/varinfo1.stderr.exp-ppc64
new file mode 100644 (file)
index 0000000..c339195
--- /dev/null
@@ -0,0 +1,37 @@
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo1.c:29)
+   by 0x........: main (varinfo1.c:49)
+ Address 0x........ is 1 bytes inside a block of size 3 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: main (varinfo1.c:47)
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo1.c:29)
+   by 0x........: main (varinfo1.c:52)
+ Location 0x........ is 0 bytes inside global var "global_u1"
+ declared at varinfo1.c:35
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo1.c:29)
+   by 0x........: main (varinfo1.c:53)
+ Location 0x........ is 0 bytes inside global var "global_i1"
+ declared at varinfo1.c:37
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo1.c:29)
+   by 0x........: main (varinfo1.c:54)
+ Location 0x........ is 0 bytes inside global_u2[3],
+ a global variable declared at varinfo1.c:39
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo1.c:29)
+   by 0x........: main (varinfo1.c:55)
+ Location 0x........ is 0 bytes inside global_i2[7],
+ a global variable declared at varinfo1.c:41
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo1.c:29)
+   by 0x........: main (varinfo1.c:56)
+ Location 0x........ is 0 bytes inside local var "local"
+ declared at varinfo1.c:46, in frame #1 of thread 1
+
diff --git a/memcheck/tests/varinfo2.stderr.exp-ppc64 b/memcheck/tests/varinfo2.stderr.exp-ppc64
new file mode 100644 (file)
index 0000000..81d1179
--- /dev/null
@@ -0,0 +1,21 @@
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo2.c:29)
+   by 0x........: foo (varinfo2.c:41)
+   by 0x........: main (varinfo2.c:51)
+ Location 0x........ is 0 bytes inside var[7],
+ declared at varinfo2.c:39, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo2.c:29)
+   by 0x........: foo (varinfo2.c:43)
+   by 0x........: main (varinfo2.c:51)
+ Location 0x........ is 2 bytes inside var.bar,
+ declared at varinfo2.c:42, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo2.c:29)
+   by 0x........: foo (varinfo2.c:46)
+   by 0x........: main (varinfo2.c:51)
+ Location 0x........ is 1 byte inside local var "var"
+ declared at varinfo2.c:37, in frame #1 of thread 1
+
diff --git a/memcheck/tests/varinfo3.stderr.exp-ppc64 b/memcheck/tests/varinfo3.stderr.exp-ppc64
new file mode 100644 (file)
index 0000000..e02a3c8
--- /dev/null
@@ -0,0 +1,58 @@
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: foo (varinfo3.c:54)
+   by 0x........: main (varinfo3.c:66)
+ Location 0x........ is 0 bytes inside static_global_def[1],
+ declared at varinfo3.c:35, in frame #0 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: foo (varinfo3.c:55)
+   by 0x........: main (varinfo3.c:66)
+ Location 0x........ is 0 bytes inside nonstatic_global_def[2],
+ a global variable declared at varinfo3.c:36
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: foo (varinfo3.c:56)
+   by 0x........: main (varinfo3.c:66)
+ Location 0x........ is 0 bytes inside static_global_undef[3],
+ declared at varinfo3.c:37, in frame #0 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: foo (varinfo3.c:57)
+   by 0x........: main (varinfo3.c:66)
+ Location 0x........ is 0 bytes inside nonstatic_global_undef[4],
+ a global variable declared at varinfo3.c:38
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: bar (varinfo3.c:42)
+   by 0x........: foo (varinfo3.c:58)
+   by 0x........: main (varinfo3.c:66)
+ Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: bar (varinfo3.c:43)
+   by 0x........: foo (varinfo3.c:58)
+   by 0x........: main (varinfo3.c:66)
+ Location 0x........ is 0 bytes inside nonstatic_local_def[6],
+ declared at varinfo3.c:51, in frame #2 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: bar (varinfo3.c:44)
+   by 0x........: foo (varinfo3.c:58)
+   by 0x........: main (varinfo3.c:66)
+ Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo3.c:29)
+   by 0x........: bar (varinfo3.c:45)
+   by 0x........: foo (varinfo3.c:58)
+   by 0x........: main (varinfo3.c:66)
+ Location 0x........ is 0 bytes inside nonstatic_local_undef[8],
+ declared at varinfo3.c:53, in frame #2 of thread 1
+
diff --git a/memcheck/tests/varinfo4.stderr.exp-ppc64 b/memcheck/tests/varinfo4.stderr.exp-ppc64
new file mode 100644 (file)
index 0000000..a47db5f
--- /dev/null
@@ -0,0 +1,21 @@
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo4.c:29)
+   by 0x........: blah (varinfo4.c:47)
+   by 0x........: main (varinfo4.c:56)
+ Location 0x........ is 1 byte inside a[3].xyzzy[21].c1,
+ declared at varinfo4.c:45, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo4.c:29)
+   by 0x........: blah (varinfo4.c:48)
+   by 0x........: main (varinfo4.c:56)
+ Location 0x........ is 0 bytes inside a[5].bong,
+ declared at varinfo4.c:45, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo4.c:29)
+   by 0x........: blah (varinfo4.c:49)
+   by 0x........: main (varinfo4.c:56)
+ Location 0x........ is 1 byte inside a[3].xyzzy[21].c2[2],
+ declared at varinfo4.c:45, in frame #1 of thread 1
+
diff --git a/memcheck/tests/varinfo5.stderr.exp-ppc64 b/memcheck/tests/varinfo5.stderr.exp-ppc64
new file mode 100644 (file)
index 0000000..db0c4fd
--- /dev/null
@@ -0,0 +1,180 @@
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: varinfo1_main (varinfo5so.c:52)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+ Address 0x........ is 1 bytes inside a block of size 3 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: varinfo1_main (varinfo5so.c:50)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: varinfo1_main (varinfo5so.c:55)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside global var "global_u1"
+ declared at varinfo5so.c:38
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: varinfo1_main (varinfo5so.c:56)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside global var "global_i1"
+ declared at varinfo5so.c:40
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: varinfo1_main (varinfo5so.c:57)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside global_u2[3],
+ a global variable declared at varinfo5so.c:42
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: varinfo1_main (varinfo5so.c:58)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside global_i2[7],
+ a global variable declared at varinfo5so.c:44
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: varinfo1_main (varinfo5so.c:59)
+   by 0x........: varinfo5_main (varinfo5so.c:154)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside local var "local"
+ declared at varinfo5so.c:49, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo2 (varinfo5so.c:71)
+   by 0x........: varinfo2_main (varinfo5so.c:81)
+   by 0x........: varinfo5_main (varinfo5so.c:155)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside var[7],
+ declared at varinfo5so.c:69, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo2 (varinfo5so.c:73)
+   by 0x........: varinfo2_main (varinfo5so.c:81)
+   by 0x........: varinfo5_main (varinfo5so.c:155)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 2 bytes inside var.bar,
+ declared at varinfo5so.c:72, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo2 (varinfo5so.c:76)
+   by 0x........: varinfo2_main (varinfo5so.c:81)
+   by 0x........: varinfo5_main (varinfo5so.c:155)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 1 byte inside local var "var"
+ declared at varinfo5so.c:67, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo3 (varinfo5so.c:106)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside static_global_def[1],
+ declared at varinfo5so.c:87, in frame #0 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo3 (varinfo5so.c:107)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside nonstatic_global_def[2],
+ a global variable declared at varinfo5so.c:88
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo3 (varinfo5so.c:108)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside static_global_undef[3],
+ declared at varinfo5so.c:89, in frame #0 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: foo3 (varinfo5so.c:109)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside nonstatic_global_undef[4],
+ a global variable declared at varinfo5so.c:90
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: bar3 (varinfo5so.c:94)
+   by 0x........: foo3 (varinfo5so.c:110)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: bar3 (varinfo5so.c:95)
+   by 0x........: foo3 (varinfo5so.c:110)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside nonstatic_local_def[6],
+ declared at varinfo5so.c:103, in frame #2 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: bar3 (varinfo5so.c:96)
+   by 0x........: foo3 (varinfo5so.c:110)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: bar3 (varinfo5so.c:97)
+   by 0x........: foo3 (varinfo5so.c:110)
+   by 0x........: varinfo3_main (varinfo5so.c:118)
+   by 0x........: varinfo5_main (varinfo5so.c:156)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside nonstatic_local_undef[8],
+ declared at varinfo5so.c:105, in frame #2 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: blah4 (varinfo5so.c:137)
+   by 0x........: varinfo4_main (varinfo5so.c:146)
+   by 0x........: varinfo5_main (varinfo5so.c:157)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 1 byte inside a[3].xyzzy[21].c1,
+ declared at varinfo5so.c:135, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: blah4 (varinfo5so.c:138)
+   by 0x........: varinfo4_main (varinfo5so.c:146)
+   by 0x........: varinfo5_main (varinfo5so.c:157)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 0 bytes inside a[5].bong,
+ declared at varinfo5so.c:135, in frame #1 of thread 1
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo5so.c:30)
+   by 0x........: blah4 (varinfo5so.c:139)
+   by 0x........: varinfo4_main (varinfo5so.c:146)
+   by 0x........: varinfo5_main (varinfo5so.c:157)
+   by 0x........: main (varinfo5.c:5)
+ Location 0x........ is 1 byte inside a[3].xyzzy[21].c2[2],
+ declared at varinfo5so.c:135, in frame #1 of thread 1
+
+answer is 0
diff --git a/memcheck/tests/varinfo6.stderr.exp-ppc64 b/memcheck/tests/varinfo6.stderr.exp-ppc64
new file mode 100644 (file)
index 0000000..f574c73
--- /dev/null
@@ -0,0 +1,20 @@
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo6.c:35)
+   by 0x........: mainSort (varinfo6.c:2999)
+   by 0x........: BZ2_blockSort (varinfo6.c:3143)
+   by 0x........: BZ2_compressBlock (varinfo6.c:4072)
+   by 0x........: handle_compress (varinfo6.c:4790)
+   by 0x........: BZ2_bzCompress (varinfo6.c:4860)
+   by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
+   by 0x........: main (varinfo6.c:6517)
+ Address 0x........ is on thread 1's stack
+
+Uninitialised byte(s) found during client check request
+   at 0x........: croak (varinfo6.c:35)
+   by 0x........: BZ2_decompress (varinfo6.c:1699)
+   by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
+   by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
+   by 0x........: main (varinfo6.c:6532)
+ Location 0x........ is 2 bytes inside local var "i"
+ declared at varinfo6.c:1517, in frame #1 of thread 1
+