1; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2 -asm-instrumentation=address -asan-instrument-assembly | FileCheck %s 2 3target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 4target triple = "x86_64-unknown-linux-gnu" 5 6; CHECK-LABEL: mov_no_attr 7; CHECK-NOT: callq __asan_report_load8@PLT 8; CHECK-NOT: callq __asan_report_store8@PLT 9define void @mov_no_attr(i64* %dst, i64* %src) { 10 tail call void asm sideeffect "movq ($1), %rax \0A\09movq %rax, ($0) \0A\09", "r,r,~{memory},~{rax},~{dirflag},~{fpsr},~{flags}"(i64* %dst, i64* %src) 11 ret void 12} 13 14; CHECK-LABEL: mov_sanitize 15; CHECK: callq __asan_report_load8@PLT 16; CHECK: callq __asan_report_store8@PLT 17define void @mov_sanitize(i64* %dst, i64* %src) sanitize_address { 18 tail call void asm sideeffect "movq ($1), %rax \0A\09movq %rax, ($0) \0A\09", "r,r,~{memory},~{rax},~{dirflag},~{fpsr},~{flags}"(i64* %dst, i64* %src) 19 ret void 20} 21