diff options
author | Nick Desaulniers <[email protected]> | 2019-08-12 14:50:45 -0700 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-08-13 18:32:15 +0100 |
commit | 80d838122643a09a9f99824adea4b4261e4451e6 (patch) | |
tree | 26543584d8c5a700c1d366cefe309cd91cca6e6e /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 08f103b9a9502974109fab47ea35ca8542c4e57a (diff) |
arm64: prefer __section from compiler_attributes.h
GCC unescapes escaped string section names while Clang does not. Because
__section uses the `#` stringification operator for the section name, it
doesn't need to be escaped.
This antipattern was found with:
$ grep -e __section\(\" -e __section__\(\" -r
Reported-by: Sedat Dilek <[email protected]>
Suggested-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions