File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ CFG_GCCISH_LINK_FLAGS :=
17
17
# embedded into the executable, so use a no-op command.
18
18
CFG_DSYMUTIL := true
19
19
20
- ifeq ($(CFG_VALGRIND ) ,)
21
- CFG_GCCISH_CFLAGS += -DNVALGRIND
22
- endif
23
-
24
20
ifneq ($(findstring freebsd,$(CFG_OSTYPE ) ) ,)
25
21
CFG_LIB_NAME =lib$(1 ) .so
26
22
CFG_LIB_GLOB =lib$(1 ) -*.so
Original file line number Diff line number Diff line change @@ -18,15 +18,13 @@ register_valgrind_stack(stk_seg *stk) {
18
18
19
19
void
20
20
reuse_valgrind_stack (stk_seg *stk, uint8_t *sp) {
21
- #ifndef NVALGRIND
22
21
// Establish that the stack is accessible. This must be done when reusing
23
22
// old stack segments, since the act of popping the stack previously
24
23
// caused valgrind to consider the whole thing inaccessible.
25
24
assert (sp >= stk->data && sp <= (uint8_t *) stk->end
26
25
&& " Stack pointer must be inside stack segment" );
27
26
size_t sz = stk->end - (uintptr_t )sp;
28
27
VALGRIND_MAKE_MEM_UNDEFINED (sp, sz);
29
- #endif
30
28
}
31
29
32
30
void
You can’t perform that action at this time.
0 commit comments