This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
asan_ignore: exclude Perl_pp_left_shift()
authorDavid Mitchell <davem@iabyn.com>
Sun, 21 Dec 2014 00:00:10 +0000 (00:00 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 31 Dec 2014 11:28:51 +0000 (11:28 +0000)
commitcbb52ffe38ad57101631b748bc04127568f728e2
tree6732651e829642e01f6a8770b68026362d8c4d39
parent53e2bfb7c6a2e8a3171dabe7dbdc24eba77e4bf0
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