summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-07-06 17:35:52 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-07-06 17:39:07 +0100
commit96d5303a2e1daee48a79e8cbb5a24be652535b95 (patch)
tree9e8853f7fbc53b6ccfa2a4914643eff9248ee080 /sys-devel
parentdev-libs/libfmt: 7.0.0 version bump (diff)
downloadgentoo-96d5303a2e1daee48a79e8cbb5a24be652535b95.tar.gz
gentoo-96d5303a2e1daee48a79e8cbb5a24be652535b95.tar.bz2
gentoo-96d5303a2e1daee48a79e8cbb5a24be652535b95.zip
toolchain.eclass: add USE=valgrind for annotations for valgrind
This adds annotation hints to memory handling code into gcc to ease debugging it under valgrind. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/metadata.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index a6c76c3bd108..feeacd303176 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -34,6 +34,7 @@
<flag name="sanitize">Build support for various sanitizer functions (ASAN/TSAN/etc...)</flag>
<flag name="ssp">Build packages with stack smashing protector on by default</flag>
<flag name="systemtap">enable systemtap static probe points</flag>
+ <flag name="valgrind">Enable valgrind annotations for gcc internals (useful for gcc debugging).</flag>
<flag name="vtv">Build support for virtual table verification (a C++ hardening feature)</flag>
</use>
<upstream>