This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Handle no_sanitize attribute values in the right way (PR sanitizer/85556).


On Thu, May 10, 2018 at 11:28:15AM +0200, Martin Liška wrote:
> Parsing of no_sanitize attribute now supports
> __attribute__((no_sanitize("address,undefined")))

Why is that wrong?  I don't see why we shouldn't support it that way.
It matches how we handle other similar attributes, say target attribute.

> which is wrong. And on the other hand this is not recognized:
> __attribute__((no_sanitize("address", "undefined")))

But we can certainly add support for this too for compatibility with clang.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]