File tree Expand file tree Collapse file tree 9 files changed +9
-15
lines changed Expand file tree Collapse file tree 9 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 8d8148f1f740ce80a07a19830cfae8a1851a7c4f
2
+ refs/heads/master: b513a5a5001b850a153db12d9621d00a70ff929a
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ CFG_GCCISH_LINK_FLAGS :=
17
17
# embedded into the executable, so use a no-op command.
18
18
CFG_DSYMUTIL := true
19
19
20
- ifneq ($(CFG_VALGRIND ) ,)
21
- CFG_GCCISH_CFLAGS += -DHAVE_VALGRIND
20
+ ifeq ($(CFG_VALGRIND ) ,)
21
+ CFG_GCCISH_CFLAGS += -DNVALGRIND
22
22
endif
23
23
24
24
ifneq ($(findstring freebsd,$(CFG_OSTYPE ) ) ,)
Original file line number Diff line number Diff line change 125
125
endif
126
126
127
127
RUNTIME_DEF_$(1 ) := rt/rustrt$$(CFG_DEF_SUFFIX )
128
- RUNTIME_INCS_$(1 ) := -I $$(S ) src/rt/isaac -I $$(S ) src/rt/uthash \
128
+ RUNTIME_INCS_$(1 ) := -I $$(S ) src/rt -I $$( S ) src/rt /isaac -I $$(S ) src/rt/uthash \
129
129
-I $$(S ) src/rt/arch/$$(HOST_$(1 ) ) \
130
130
-I $$(S ) src/libuv/include
131
131
RUNTIME_OBJS_$(1 ) := $$(RUNTIME_CS_$(1 ) :rt/%.cpp=rt/$(1 ) /%.o ) \
Original file line number Diff line number Diff line change 7
7
#include < inttypes.h>
8
8
#include < stdint.h>
9
9
10
- #include " ../.. /memcheck.h"
10
+ #include " vg /memcheck.h"
11
11
12
12
template <typename T>
13
13
T align_down (T sp)
@@ -51,9 +51,7 @@ class context {
51
51
uint32_t bot = regs.esp ;
52
52
uint32_t top = align_down (bot - nbytes);
53
53
54
- #ifdef HAVE_VALGRIND
55
54
(void )VALGRIND_MAKE_MEM_UNDEFINED (top - 4 , bot - top + 4 );
56
- #endif
57
55
58
56
return reinterpret_cast <void *>(top);
59
57
}
Original file line number Diff line number Diff line change 8
8
#include < stdint.h>
9
9
#include < xmmintrin.h>
10
10
11
- #ifdef HAVE_VALGRIND
12
- #include < valgrind/memcheck.h>
13
- #endif
11
+ #include " vg/memcheck.h"
14
12
15
13
template <typename T>
16
14
T align_down (T sp)
@@ -51,9 +49,7 @@ class context {
51
49
uint64_t bot = regs.data [RUSTRT_RSP];
52
50
uint64_t top = align_down (bot - nbytes);
53
51
54
- #ifdef HAVE_VALGRIND
55
52
(void )VALGRIND_MAKE_MEM_UNDEFINED (top - 4 , bot - top + 4 );
56
- #endif
57
53
58
54
return reinterpret_cast <void *>(top);
59
55
}
Original file line number Diff line number Diff line change 2
2
#include " rust_internal.h"
3
3
#include " rust_cc.h"
4
4
5
- #include " valgrind.h"
6
- #include " memcheck.h"
5
+ #include " vg/ valgrind.h"
6
+ #include " vg/ memcheck.h"
7
7
8
8
#ifndef __WIN32__
9
9
#include < execinfo.h>
Original file line number Diff line number Diff line change 1
1
#include " rust_internal.h"
2
- #include " valgrind.h"
2
+ #include " vg/ valgrind.h"
3
3
4
4
// The mechanism in this file is very crude; every domain (thread) spawns its
5
5
// own secondary timer thread, and that timer thread *never idles*. It
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments