Skip to content

Commit b754f0a

Browse files
committed
---
yaml --- r: 14591 b: refs/heads/try c: 8a32f8e h: refs/heads/master i: 14589: f34a75c 14587: 4e0ffd0 14583: 3bf5057 14575: 12955bd 14559: 1878402 14527: 11c1ec0 14463: b0b7fc9 14335: 4cc2ad4 v: v3
1 parent a1c1b95 commit b754f0a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: a04127d2910b4b19138a42efede6b88e9aaab35f
5+
refs/heads/try: 8a32f8efe5e13b8f77236e5f95c5e88e4d38cc1e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ else
274274
fi
275275

276276
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"
278279
opt docs 1 "build documentation"
279280
opt optimize 1 "build optimized rust code"
280281
opt optimize-cxx 1 "build optimized C++ code"

branches/try/mk/platform.mk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,16 @@ ifdef CFG_UNIXY
162162
endif
163163
endif
164164
ifdef CFG_VALGRIND
165-
CFG_VALGRIND += --leak-check=full \
166-
--error-exitcode=100 \
165+
CFG_VALGRIND += --error-exitcode=100 \
167166
--quiet \
168167
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
169168
$(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
170175
endif
171176
endif
172177

0 commit comments

Comments
 (0)