Valgrind: r16438 - /trunk/coregrind/m_libcproc.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Valgrind: r16438 - /trunk/coregrind/m_libcproc.c

svn-2
Author: sewardj
Date: Fri Jun  9 14:13:48 2017
New Revision: 16438

Log:
fix: Bug 380202 - Assertion failure for cache line size (vg_assert(cls == 64)) on aarch64.

Modified:
    trunk/coregrind/m_libcproc.c

Modified: trunk/coregrind/m_libcproc.c
==============================================================================
--- trunk/coregrind/m_libcproc.c (original)
+++ trunk/coregrind/m_libcproc.c Fri Jun  9 14:13:48 2017
@@ -1208,7 +1208,7 @@
    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) {


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers