diff options
author | Marco Elver <[email protected]> | 2020-06-16 01:15:29 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-06-16 15:35:02 +0200 |
commit | 33aea07f30c261eff7ba229f19fd1b161e0fb851 (patch) | |
tree | 30051779e2a636e9fa8bf14873ad41bb114e769e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8e8bb06d199a5aa7a534aa3b3fc0abbbc11ca438 (diff) |
compiler_attributes.h: Support no_sanitize_undefined check with GCC 4
UBSAN is supported since GCC 4.9, which unfortunately did not yet have
__has_attribute(). To work around, the __GCC4_has_attribute workaround
requires defining which compiler version supports the given attribute.
In the case of no_sanitize_undefined, it is the first version that
supports UBSAN, which is GCC 4.9.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Miguel Ojeda <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions