diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-03-05 19:48:25 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-03-05 19:48:25 +0000 |
commit | fca6f6fddb22b8665e840f455a7d0318d4575227 (patch) | |
tree | e805561f832aee10043c1b5489fec0d4765af7c1 /gcc/dwarf2ctf.cc | |
parent | 8776468d9e57ace5f832c1368243a6dbce9984d5 (diff) | |
download | gcc-fca6f6fddb22b8665e840f455a7d0318d4575227.zip gcc-fca6f6fddb22b8665e840f455a7d0318d4575227.tar.gz gcc-fca6f6fddb22b8665e840f455a7d0318d4575227.tar.bz2 |
asan: Handle poly-int sizes in ASAN_MARK [PR97696]
This patch makes the expansion of IFN_ASAN_MARK let through
poly-int-sized objects. The expansion itself was already generic
enough, but the tests for the fast path were too strict.
gcc/
PR sanitizer/97696
* asan.cc (asan_expand_mark_ifn): Allow the length to be a poly_int.
gcc/testsuite/
PR sanitizer/97696
* gcc.target/aarch64/sve/pr97696.c: New test.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions