> Ok for trunk?
>
> 2012-11-27 Jakub Jelinek
>
> * asan.c (instrument_mem_region_access): Don't instrument
> if base doesn't have pointer type or len integral type.
> Add cast if len doesn't have size_t compatible type.
> (instrument_builtin_call): Don't instrument BUILT
Hi!
This fixes a couple of asan ICEs found while running make check
with RUNTESTFLAGS='unix/-fsanitize=address'.
The last two hunks fix ICEs while instrumenting atomics with non-standard
sizes, those are always turned into library calls, and the first argument
is the length, not a pointer.
The oth
On Thu, Oct 18, 2012 at 5:58 AM, Jakub Jelinek wrote:
> Hi!
>
> Dodji reported to me an ICE about NOTE_INSN_BASIC_BLOCK in a middle
> of a bb. The following patch (cfgexpand.c hunk) fixes that.
> I then run asan cc1/cc1plus with -O2 -fasan on a portion of cc1files
> and got other ICEs, which is t
Hi!
Dodji reported to me an ICE about NOTE_INSN_BASIC_BLOCK in a middle
of a bb. The following patch (cfgexpand.c hunk) fixes that.
I then run asan cc1/cc1plus with -O2 -fasan on a portion of cc1files
and got other ICEs, which is the reason for the two asan.c changes
- one was that base wasn't un