https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204

--- Comment #4 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Martin Liška from comment #3)
> As I'm reading the source code, there's no option to do that.
> Apart from 'no_sanitize' attribute, GCC supports 'no_sanitize_undefined'
> attribute (clang does not) and clang has 'no_sanitize_memory' (not handled
> by GCC).
> 
> I welcome the ability to have finer attributes for sanitizer and I can do
> that.
> What's Jakub thinking about it?

(In reply to Martin Liška from comment #1)
> Ok, do I understand it properly that you're missing support of
> no_sanitize("string literals"), as defined here:
> 
> http://clang.llvm.org/docs/AttributeReference.html#no-sanitize-clang-no-
> sanitize

It looks like GCC does not support this feature in any compilers (GCC 4 through
7). Is that correct?

(I'm trying to get some macros tuned based on Clang and GCC versions).

Reply via email to