[PATCH][PR sanitizer/78887] Don't emit ODR indicators if -fsanitize=kernel-address is present.
Jakub Jelinek
jakub@redhat.com
Fri Jan 13 09:03:00 GMT 2017
On Fri, Jan 13, 2017 at 12:01:54PM +0300, Maxim Ostapenko wrote:
> + of symbols they are emmitted for, these assumptions would be broken for
emitted rather than emmitted.
> + ODR indicator symbols. */
> + return (!(flag_sanitize & SANITIZE_KERNEL_ADDRESS)
> + && !DECL_ARTIFICIAL (decl)
> + && !DECL_WEAK (decl)
> + && TREE_PUBLIC (decl));
> }
>
> /* Append description of a single global DECL into vector V.
Jakub
More information about the Gcc-patches
mailing list