1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Instrumentation/MemorySanitizer
Gui Andrade bb38b0a59d [MSAN] Pass Origin by parameter to __msan_warning functions
Summary:
Normally, the Origin is passed over TLS, which seems like it introduces unnecessary overhead. It's in the (extremely) cold path though, so the only overhead is in code size.

But with eager-checks, calls to __msan_warning functions are extremely common, so this becomes a useful optimization.

This can save ~5% code size.

Reviewers: eugenis, vitalybuka

Reviewed By: eugenis, vitalybuka

Subscribers: hiraditya, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D81700
2020-06-15 17:49:18 -07:00
..
AArch64
Mips
PowerPC
SystemZ
X86
alloca.ll
array_types.ll
atomics.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
attributes.ll
bmi.ll
byval-alignment.ll
check_access_address.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
check-constant-shadow.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
clmul.ll
csr.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
instrumentation-with-call-threshold.ll
manual-shadow.ll
masked-store-load.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
missing_origin.ll
msan_asm_conservative.ll
msan_basic.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
msan_kernel_basic.ll
msan_llvm_is_constant.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
msan_llvm_launder_invariant.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
msan_llvm_strip_invariant.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
msan_x86_bts_asm.ll
msan_x86intrinsics.ll
mul_by_constant.ll
nosanitize.ll
origin-alignment.ll
origin-array.ll
pr32842.ll
return_from_main.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
store-long-origin.ll
store-origin.ll
str-nobuiltin.ll
unreachable.ll
unsized_type.ll
vector_arith.ll
vector_cmp.ll
vector_cvt.ll [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
vector_pack.ll
vector_shift.ll
with-call-type-size.ll