From 4f7115750b56bce569713052a4eef4b16d7fe45b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 16 Mar 2015 05:49:26 +0000 Subject: [PATCH] add address sanitizer to Jamfile --- Jamfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jamfile b/Jamfile index ae7388805..bc51a2856 100755 --- a/Jamfile +++ b/Jamfile @@ -315,11 +315,12 @@ feature tcmalloc : no yes : composite propagated link-incompatible ; feature ipv6 : on off : composite propagated link-incompatible ; feature.compose off : TORRENT_USE_IPV6=0 ; -feature sanitize : off bounds undefined thread rtc : composite propagated link-incompatible ; +feature sanitize : off address bounds undefined thread rtc : composite propagated link-incompatible ; # sanitize is a clang and GCC feature feature.compose bounds : -fsanitize=bounds -fsanitize-undefined-trap-on-error -fsanitize=bounds -fsanitize-undefined-trap-on-error ; feature.compose undefined : -fsanitize=undefined -fsanitize=undefined ; feature.compose thread : -fsanitize=thread -fsanitize=thread ; +feature.compose address : -fsanitize=address -fsanitize=address ; # RTC (runtime check) is an msvc feature feature.compose rtc : /RTCc /RTCsu ;