make valgrind run under -DMM=0
even if it's not very helpful as CBQN requires being able to read garbage past allocation ends
This commit is contained in:
parent
eb5b32319f
commit
a17d8004be
@ -215,8 +215,8 @@ static bool atomEqual(B w, B x) { // doesn't consume (not that that matters real
|
||||
|
||||
|
||||
#ifdef USE_VALGRIND
|
||||
#include "../utils/valgrind.h"
|
||||
#include <valgrind/valgrind.h>
|
||||
#include <valgrind/memcheck.h>
|
||||
static void pst(char* msg) {
|
||||
VALGRIND_PRINTF_BACKTRACE("%s", msg);
|
||||
}
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
#ifdef USE_VALGRIND
|
||||
#include "../utils/valgrind.h"
|
||||
#endif
|
||||
|
||||
#define buckets BN(buckets)
|
||||
static void BN(free)(Value* x) {
|
||||
onFree(x);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user