diff options
author | liuhongt <hongtao.liu@intel.com> | 2024-01-23 13:35:39 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2024-01-25 12:42:37 +0800 |
commit | 025b8f5eb71d1b774eb0bd44876093aab853b899 (patch) | |
tree | cdf2d2923efab0acdd562d6adc2b832d3eaab1cd /gcc/tree-vect-loop.cc | |
parent | 6ff54cc0be8dfa9d9bd5922ec65e86c9eb644711 (diff) | |
download | gcc-025b8f5eb71d1b774eb0bd44876093aab853b899.zip gcc-025b8f5eb71d1b774eb0bd44876093aab853b899.tar.gz gcc-025b8f5eb71d1b774eb0bd44876093aab853b899.tar.bz2 |
Adjust hwasan testcase for x86 target.
There're 2 cases:
1. hwasan-poison-optimisation.c is supposed to scan call to
__hwasan_tag_mismatch4, and x86 have different mnemonic(call) from
aarch64(bl), so adjust testcase to scan either call or bl.
2. alloca-outside-caught.c/vararray-outside-caught.c are supposed to
scan mismatched tags and expected the tag corresponding to
out-of-bounds memory is 00, but for x86 the continous stack is
allocated by other local variable/array which is assigned with a
different tag, but still there're mismatches. So adjust testcase to
scan XX/XX instead of XX/00.
gcc/testsuite/ChangeLog:
* c-c++-common/hwasan/alloca-outside-caught.c: Adjust
testcase.
* c-c++-common/hwasan/hwasan-poison-optimisation.c: Ditto.
* c-c++-common/hwasan/vararray-outside-caught.c: Ditto.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions