Skip to content
Commit eb5c4aaa authored by Andy Ross's avatar Andy Ross Committed by Fabio Baltieri
Browse files

toolchain/gcc: Don't use no_sanitize("address") with gcc



GCC doesn't actually need this treatment, only clang.  (GCC is smart
enough to use "const" as the needed clue to suppress instrumentation
it seems like).  And it turns out older gcc's emit a warning
(attribute ignored, which is... sort of weird to warn about?) in that
circumstance, which breaks builds.  Just turn it off rather than try
to find a way to suppress that one warning.

Signed-off-by: default avatarAndy Ross <andyross@google.com>
parent 99dd8450
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment