Re: [PATCH] PR target/91441 - Turn off -fsanitize=kernel-address if TARGET_ASAN_SHADOW_OFFSET is not implemented.

2019-08-18 Thread Kito Cheng
Hi Jeff: Thanks, committed as r274631. On Fri, Aug 16, 2019 at 11:51 PM Jeff Law wrote: > > On 8/15/19 8:45 PM, Kito Cheng wrote: > > - -fsanitize=kernel-address will call targetm.asan_shadow_offset () > >at asan_shadow_offset, so it will crash if TARGET_ASAN_SHADOW_OFFSET > >is not imp

Re: [PATCH] PR target/91441 - Turn off -fsanitize=kernel-address if TARGET_ASAN_SHADOW_OFFSET is not implemented.

2019-08-16 Thread Jeff Law
On 8/15/19 8:45 PM, Kito Cheng wrote: > - -fsanitize=kernel-address will call targetm.asan_shadow_offset () >at asan_shadow_offset, so it will crash if TARGET_ASAN_SHADOW_OFFSET >is not implemented, that's mean -fsanitize=kernel-address is not >supported for target without TARGET_ASAN_

[PATCH] PR target/91441 - Turn off -fsanitize=kernel-address if TARGET_ASAN_SHADOW_OFFSET is not implemented.

2019-08-15 Thread Kito Cheng
- -fsanitize=kernel-address will call targetm.asan_shadow_offset () at asan_shadow_offset, so it will crash if TARGET_ASAN_SHADOW_OFFSET is not implemented, that's mean -fsanitize=kernel-address is not supported for target without TARGET_ASAN_SHADOW_OFFSET implementation. gcc/ChangeLog: