File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: a04127d2910b4b19138a42efede6b88e9aaab35f
5
+ refs/heads/try: 8a32f8efe5e13b8f77236e5f95c5e88e4d38cc1e
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 274
274
fi
275
275
276
276
opt sharedstd 1 " build libstd as a shared library"
277
- opt valgrind 1 " run tests with valgrind"
277
+ opt valgrind 1 " run tests with valgrind (memcheck by default)"
278
+ opt helgrind 0 " run tests with helgrind instead of memcheck"
278
279
opt docs 1 " build documentation"
279
280
opt optimize 1 " build optimized rust code"
280
281
opt optimize-cxx 1 " build optimized C++ code"
Original file line number Diff line number Diff line change @@ -162,11 +162,16 @@ ifdef CFG_UNIXY
162
162
endif
163
163
endif
164
164
ifdef CFG_VALGRIND
165
- CFG_VALGRIND += --leak-check=full \
166
- --error-exitcode=100 \
165
+ CFG_VALGRIND += --error-exitcode=100 \
167
166
--quiet \
168
167
--suppressions=$(CFG_SRC_DIR ) src/etc/x86.supp \
169
168
$(OS_SUPP )
169
+ ifdef CFG_ENABLE_HELGRIND
170
+ CFG_VALGRIND += --tool=helgrind
171
+ else
172
+ CFG_VALGRIND += --tool=memcheck \
173
+ --leak-check=full
174
+ endif
170
175
endif
171
176
endif
172
177
You can’t perform that action at this time.
0 commit comments