From cbb52ffe38ad57101631b748bc04127568f728e2 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sun, 21 Dec 2014 00:00:10 +0000 Subject: asan_ignore: exclude Perl_pp_left_shift() << in perl maps directly to << in C, so don't warn about it when the RHS is too big. Fixes e.g.: print 1 << 64 use integer; print 1 << 63 Typical ASan warning: pp.c:1893:2: runtime error: left shift of 1 by 63 places cannot be represented in type 'IV' (aka 'long') --- asan_ignore | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'asan_ignore') diff --git a/asan_ignore b/asan_ignore index 5a8bc5c7f9..4a1dc83870 100644 --- a/asan_ignore +++ b/asan_ignore @@ -17,3 +17,9 @@ # nor =signed-integer-overflow worked. fun:Perl_pp_i_* + +# Perl's << is defined as using the underlying C's << operator, with the +# same undefined behaviour for shifts greater than the word size. +# (UVs normally, IVs with 'use integer') + +fun:Perl_pp_left_shift -- cgit v1.2.1