forked from OSchip/llvm-project
c1c4c9a494
Turns out it's not always possible to figure out whether an asm() statement argument points to a valid memory region. One example would be per-CPU objects in the Linux kernel, for which the addresses are calculated using the FS register and a small offset in the .data..percpu section. To avoid pulling all sorts of checks into the instrumentation, we replace actual checking/unpoisoning code with calls to msan_instrument_asm_load(ptr, size) and msan_instrument_asm_store(ptr, size) functions in the runtime. This patch doesn't implement the runtime hooks in compiler-rt, as there's been no demand in assembly instrumentation for userspace apps so far. llvm-svn: 345702 |
||
---|---|---|
.. | ||
AArch64 | ||
Mips | ||
PowerPC | ||
X86 | ||
alloca.ll | ||
array_types.ll | ||
atomics.ll | ||
byval-alignment.ll | ||
check-constant-shadow.ll | ||
check_access_address.ll | ||
csr.ll | ||
global_ctors_2to3.ll | ||
instrumentation-with-call-threshold.ll | ||
manual-shadow.ll | ||
masked-store-load.ll | ||
missing_origin.ll | ||
msan_asm_conservative.ll | ||
msan_basic.ll | ||
msan_kernel_basic.ll | ||
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 | ||
store-long-origin.ll | ||
store-origin.ll | ||
str-nobuiltin.ll | ||
unreachable.ll | ||
unsized_type.ll | ||
vector_arith.ll | ||
vector_cmp.ll | ||
vector_cvt.ll | ||
vector_pack.ll | ||
vector_shift.ll | ||
with-call-type-size.ll |