valgrind/valgrind-3.13.0-arm-dcache.patch
Mark Wielaard e1e5e5d093 3.13.0-0.2.RC1
- Add valgrind-3.13.0-arm-dcache.patch
- Add valgrind-3.13.0-g++-4.4.patch
- Add valgrind-3.13.0-s390x-GI-strcspn.patch
- Add valgrind-3.13.0-xtree-callgrind.patch
2017-06-06 11:35:19 +02:00

14 lines
451 B
Diff

diff --git a/coregrind/m_libcproc.c b/coregrind/m_libcproc.c
index 18bef06..afcc117 100644
--- a/coregrind/m_libcproc.c
+++ b/coregrind/m_libcproc.c
@@ -1208,7 +1208,7 @@ void VG_(flush_dcache) ( void *ptr, SizeT nbytes )
cls = 4 * (1ULL << (0xF & (ctr_el0 >> 16)));
/* Stay sane .. */
- vg_assert(cls == 64);
+ vg_assert(cls == 64 || cls == 128);
startaddr &= ~(cls - 1);
for (addr = startaddr; addr < endaddr; addr += cls) {