llvm-project/llvm/test/Instrumentation/AddressSanitizer
Karl-Johan Karlsson 760ed8da98 [AddressSanitizer] Only instrument globals of default address space
The address sanitizer ignore memory accesses from different address
spaces, however when instrumenting globals the check for different
address spaces is missing. This result in assertion failure. The fault
was found in an out of tree target.

The patch skip all globals of non default address space.

Reviewed By: leonardchan, vitalybuka

Differential Revision: https://reviews.llvm.org/D68790
2019-10-30 09:32:19 +01:00
..
X86 [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
adaptive_global_redzones.ll
asan-detect-invalid-pointer-pair.ll [asan] Add options -asan-detect-invalid-pointer-cmp and -asan-detect-invalid-pointer-sub options. 2019-03-28 10:51:24 +00:00
asan-masked-load-store.ll
asan-vs-gvn.ll
asan_address_space_attr.ll
basic-msvc64.ll
basic-myriad.ll
basic.ll
debug-info-global-var.ll
debug_info.ll
debug_info_noninstrumented_alloca.ll
debug_info_noninstrumented_alloca2.ll
do-not-instrument-globals-darwin.ll
do-not-instrument-globals-linux.ll
do-not-instrument-internal-globals.ll
do-not-instrument-profiling-globals.ll
do-not-instrument-promotable-allocas.ll
do-not-instrument-sanitizers.ll
do-not-touch-comdat-global.ll
do-not-touch-odr-global.ll
do-not-touch-threadlocal.ll
dynamic-shadow-darwin.ll [ASan] Use dynamic shadow on 32-bit iOS and simulators 2019-06-21 21:01:39 +00:00
experiment-call.ll
experiment.ll
force-dynamic-shadow.ll
freebsd.ll
global_addrspace.ll [AddressSanitizer] Only instrument globals of default address space 2019-10-30 09:32:19 +01:00
global_cstring_darwin.ll
global_lto_merge.ll
global_metadata.ll
global_metadata_array.ll
global_metadata_bitcasts.ll
global_metadata_darwin.ll
global_metadata_external_comdat.ll
global_metadata_windows.ll
instrument-dynamic-allocas.ll
instrument-no-return.ll
instrument-stack.ll
instrument_global.ll
instrument_initializer_metadata.ll [IR] Disallow llvm.global_ctors and llvm.global_dtors of the 2-field form in textual format 2019-05-15 02:35:32 +00:00
instrument_load_then_store.ll
instrumentation-with-call-threshold.ll
keep_going.ll
lifetime-throw.ll
lifetime-uar-uas.ll
lifetime.ll
local_alias.ll
local_stack_base.ll
localescape.ll
no-globals.ll
odr-check-ignore.ll
ps4.ll
scale-offset.ll
stack-poisoning-and-lifetime-be.ll
stack-poisoning-and-lifetime.ll Asan use-after-scope: don't poison allocas if there were untraced lifetime intrinsics in the function (PR41481) 2019-04-16 07:54:20 +00:00
stack-poisoning-byval-args.ll
stack-poisoning.ll
stack_dynamic_alloca.ll
stack_layout.ll
str-nobuiltin.ll
test64.ll
twice.ll
ubsan.ll
version-mismatch-check.ll [ASan] Version mismatch check follow-up 2019-08-29 20:20:05 +00:00
win-sorted-sections.ll
win-string-literal.ll
with-ifunc.ll