Add valgrind-3.11.0-isZeroU.patch
This commit is contained in:
parent
d3b707c0aa
commit
baf2d92b9f
21
valgrind-3.11.0-isZeroU.patch
Normal file
21
valgrind-3.11.0-isZeroU.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
commit 770707cd209a94b9fe19273b68ddb1cb84191399
|
||||||
|
Author: sewardj <sewardj@8f6e269a-dfd6-0310-a8e1-e2731360e62c>
|
||||||
|
Date: Mon Mar 21 19:29:20 2016 +0000
|
||||||
|
|
||||||
|
Make isZeroU handle the V256 case. Fixes #356393.
|
||||||
|
|
||||||
|
|
||||||
|
git-svn-id: svn://svn.valgrind.org/vex/trunk@3213 8f6e269a-dfd6-0310-a8e1-e2731360e62c
|
||||||
|
|
||||||
|
diff --git a/VEX/priv/ir_opt.c b/VEX/priv/ir_opt.c
|
||||||
|
index 7a7246a..4266823 100644
|
||||||
|
--- a/VEX/priv/ir_opt.c
|
||||||
|
+++ b/VEX/priv/ir_opt.c
|
||||||
|
@@ -1223,6 +1223,7 @@ static Bool isZeroU ( IRExpr* e )
|
||||||
|
case Ico_U16: return toBool( e->Iex.Const.con->Ico.U16 == 0);
|
||||||
|
case Ico_U32: return toBool( e->Iex.Const.con->Ico.U32 == 0);
|
||||||
|
case Ico_U64: return toBool( e->Iex.Const.con->Ico.U64 == 0);
|
||||||
|
+ case Ico_V256: return toBool( e->Iex.Const.con->Ico.V256 == 0x00000000);
|
||||||
|
default: vpanic("isZeroU");
|
||||||
|
}
|
||||||
|
}
|
@ -136,6 +136,9 @@ Patch28: valgrind-3.11.0-cxx-freeres.patch
|
|||||||
# KDE#361354 - ppc64[le]: wire up separate socketcalls system calls
|
# KDE#361354 - ppc64[le]: wire up separate socketcalls system calls
|
||||||
Patch29: valgrind-3.11.0-ppc64-separate-socketcalls.patch
|
Patch29: valgrind-3.11.0-ppc64-separate-socketcalls.patch
|
||||||
|
|
||||||
|
# KDE#356393 - valgrind (vex) crashes because isZeroU happened
|
||||||
|
Patch30: valgrind-3.11.0-isZeroU.patch
|
||||||
|
|
||||||
%if %{build_multilib}
|
%if %{build_multilib}
|
||||||
# Ensure glibc{,-devel} is installed for both multilib arches
|
# Ensure glibc{,-devel} is installed for both multilib arches
|
||||||
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
||||||
@ -273,6 +276,7 @@ chmod 755 memcheck/tests/arm64-linux/filter_stderr
|
|||||||
%patch27 -p1
|
%patch27 -p1
|
||||||
%patch28 -p1
|
%patch28 -p1
|
||||||
%patch29 -p1
|
%patch29 -p1
|
||||||
|
%patch30 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# We need to use the software collection compiler and binutils if available.
|
# We need to use the software collection compiler and binutils if available.
|
||||||
@ -468,6 +472,7 @@ echo ===============END TESTING===============
|
|||||||
* Sun Apr 03 2016 Mark Wielaard <mjw@redhat.com>
|
* Sun Apr 03 2016 Mark Wielaard <mjw@redhat.com>
|
||||||
- Add valgrind-3.11.0-cxx-freeres.patch (#1312647)
|
- Add valgrind-3.11.0-cxx-freeres.patch (#1312647)
|
||||||
- Add valgrind-3.11.0-ppc64-separate-socketcalls.patch
|
- Add valgrind-3.11.0-ppc64-separate-socketcalls.patch
|
||||||
|
- Add valgrind-3.11.0-isZeroU.patch
|
||||||
|
|
||||||
* Mon Mar 14 2016 Mark Wielaard <mjw@redhat.com> - 3.11.0-18
|
* Mon Mar 14 2016 Mark Wielaard <mjw@redhat.com> - 3.11.0-18
|
||||||
- Update valgrind-3.11.0-libstdc++-supp.patch.
|
- Update valgrind-3.11.0-libstdc++-supp.patch.
|
||||||
|
Loading…
Reference in New Issue
Block a user