llvm-project/llvm/test/Instrumentation/AddressSanitizer
Reshabh Sharma 9f51f1b927 [ASAN][AMDGPU] Add support for accesses to global and constant addrspaces
Add address sanitizer instrumentation support for accesses to global
and constant address spaces in AMDGPU. It strictly avoids instrumenting
the stack and assumes x86 as the host.

Reviewed by: vitalybuka

Differential Revision: https://reviews.llvm.org/D99071
2021-05-03 09:01:15 +05:30
..
AMDGPU [ASAN][AMDGPU] Add support for accesses to global and constant addrspaces 2021-05-03 09:01:15 +05:30
X86 [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
adaptive_global_redzones.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
alloca-offset-lifetime.ll [test] Fix alloca-offset-lifetime.ll under NPM 2020-10-21 13:31:27 -07:00
asan-detect-invalid-pointer-pair.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
asan-masked-load-store.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
asan-vs-gvn.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
asan_address_space_attr.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
basic-msvc64.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
basic-myriad.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
basic.ll [IR][sanitizer] Set nounwind on module ctor/dtor, additionally set uwtable if -fasynchronous-unwind-tables 2021-04-21 15:58:20 -07:00
byref-args.ll [ASan][NewPM] Fix byref-args.ll under NPM 2020-09-18 10:50:53 -07:00
byval-args.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
debug-info-alloca.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
debug-info-global-var.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
debug_info.ll [AddressSanitizer] Copy type metadata to prevent miscompilation 2020-09-28 13:56:05 -04:00
debug_info_noninstrumented_alloca.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
debug_info_noninstrumented_alloca2.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-instrument-globals-darwin.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-instrument-globals-linux.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-instrument-internal-globals.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-instrument-netbsd-link_set.ll [asan] Stop instrumenting user-defined ELF sections 2020-10-03 19:54:38 +02:00
do-not-instrument-profiling-globals.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-instrument-promotable-allocas.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-instrument-sanitizers.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-touch-comdat-global.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-touch-odr-global.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
do-not-touch-threadlocal.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
dynamic-shadow-darwin.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
experiment-call.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
experiment.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
force-dynamic-shadow.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
freebsd.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_addrspace.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_cstring_darwin.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_lto_merge.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_metadata.ll [asan] Avoid putting globals in a comdat section when targetting elf. 2021-02-24 12:01:56 +00:00
global_metadata_array.ll [NFC] Disallow unused prefixes under llvm/test 2021-01-21 20:31:52 -08:00
global_metadata_bitcasts.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_metadata_darwin.ll [asan][test] Improve -asan-use-private-alias tests 2020-12-04 15:05:59 -08:00
global_metadata_external_comdat.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_metadata_windows.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
global_with_comdat.ll Don't use $ as suffix for symbol names in ThinLTOBitcodeWriter and other places 2021-03-29 13:03:52 +02:00
hoist-argument-init-insts.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
instrument-dynamic-allocas.ll Reapply "OpaquePtr: Turn inalloca into a type attribute" 2021-03-29 08:55:30 -04:00
instrument-no-return.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
instrument-section-invalid-c-ident.ll [asan] Avoid putting globals in a comdat section when targetting elf. 2021-02-24 12:01:56 +00:00
instrument-stack.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
instrument_global.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
instrument_initializer_metadata.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
instrument_load_then_store.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
instrumentation-with-call-threshold.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
keep_going.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
lifetime-throw.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
lifetime-uar-uas.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
lifetime.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
local_alias.ll [asan][test] Improve -asan-use-private-alias tests 2020-12-04 15:05:59 -08:00
local_stack_base.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
localescape.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
module-flags.ll [IR][sanitizer] Add module flag "frame-pointer" and set it for cc1 -mframe-pointer={non-leaf,all} 2021-04-22 18:07:30 -07:00
musttail.ll [ASAN] Properly deal with musttail calls in ASAN 2020-09-18 23:10:34 -07:00
no-globals.ll [IR][sanitizer] Set nounwind on module ctor/dtor, additionally set uwtable if -fasynchronous-unwind-tables 2021-04-21 15:58:20 -07:00
no_global_dtors.ll [ASan] Introduce a way set different ways of emitting module destructors. 2021-02-23 20:01:21 -08:00
odr-check-ignore.ll [asan][test] Improve -asan-use-private-alias tests 2020-12-04 15:05:59 -08:00
ps4.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
scale-offset.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
stack-poisoning-and-lifetime-be.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
stack-poisoning-and-lifetime.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
stack-poisoning-byval-args.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
stack-poisoning.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
stack_dynamic_alloca.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
stack_layout.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
str-nobuiltin.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
test64.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
twice.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
ubsan.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
version-mismatch-check.ll [ASan] Version mismatch check follow-up 2019-08-29 20:20:05 +00:00
win-sorted-sections.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
win-string-literal.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00
with-ifunc.ll [NewPM][ASan] Make ASan tests work under NPM 2020-07-17 18:01:25 -07:00