Go to file
Claudiu Zissulescu 1c2c061c4d aarch64: Add memtag-stack tests
Add basic tests for memtag-stack sanitizer.  Memtag stack sanitizer
uses target hooks to emit AArch64 specific MTE instructions.

gcc/testsuite:

	* gcc.target/aarch64/memtag/alloca-1.c: New test.
	* gcc.target/aarch64/memtag/alloca-2.c: New test.
	* gcc.target/aarch64/memtag/alloca-3.c: New test.
	* gcc.target/aarch64/memtag/arguments-1.c: New test.
	* gcc.target/aarch64/memtag/arguments-2.c: New test.
	* gcc.target/aarch64/memtag/arguments-3.c: New test.
	* gcc.target/aarch64/memtag/arguments-4.c: New test.
	* gcc.target/aarch64/memtag/arguments.c: New test.
	* gcc.target/aarch64/memtag/basic-1.c: New test.
	* gcc.target/aarch64/memtag/basic-3.c: New test.
	* gcc.target/aarch64/memtag/basic-struct.c: New test.
	* gcc.target/aarch64/memtag/large-array.c: New test.
	* gcc.target/aarch64/memtag/local-no-escape.c: New test.
	* gcc.target/aarch64/memtag/memtag.exp: New file.
	* gcc.target/aarch64/memtag/no-sanitize-attribute.c: New test.
	* gcc.target/aarch64/memtag/value-init.c: New test.
	* gcc.target/aarch64/memtag/vararray-gimple.c: New test.
	* gcc.target/aarch64/memtag/vararray.c: New test.
	* gcc.target/aarch64/memtag/zero-init.c: New test.
	* gcc.target/aarch64/memtag/texec-1.c: New test.
	* gcc.target/aarch64/memtag/texec-2.c: New test.
	* gcc.target/aarch64/memtag/texec-3.c: New test.
	* gcc.target/aarch64/memtag/vla-1.c: New test.
	* gcc.target/aarch64/memtag/vla-2.c: New test.
	* lib/target-supports.exp (check_effective_target_aarch64_mte):
	New function.

Co-authored-by: Indu Bhagat <indu.bhagat@oracle.com>
Signed-off-by: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
2025-12-16 11:23:18 +02:00
.forgejo
.github
INSTALL
c++tools
config
contrib Daily bump. 2025-12-16 00:16:36 +00:00
fixincludes
gcc aarch64: Add memtag-stack tests 2025-12-16 11:23:18 +02:00
gnattools
gotools
include
libada
libatomic
libbacktrace
libcc1
libcody
libcpp
libdecnumber
libffi
libga68
libgcc Daily bump. 2025-12-16 00:16:36 +00:00
libgcobol
libgfortran Daily bump. 2025-12-16 00:16:36 +00:00
libgm2
libgo
libgomp Daily bump. 2025-12-16 00:16:36 +00:00
libgrust
libiberty
libitm
libobjc
libphobos
libquadmath
libsanitizer
libssp
libstdc++-v3
libvtv
lto-plugin
maintainer-scripts
zlib
.b4-config
.dir-locals.el
.editorconfig
.gitattributes
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Daily bump. 2025-12-16 00:16:36 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS Add myself to DCO section 2025-12-15 07:21:17 +01:00
Makefile.def
Makefile.in
Makefile.tpl
README
SECURITY.txt
ar-lib
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
symlink-tree
test-driver
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.