1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/Instrumentation/AddressSanitizer/X86/asm_mov_no_instrumentation.s
Evgeniy Stepanov 5738c3882f [asan] Support x86 REP MOVS asm instrumentation.
Patch by Yuri Gorshenin.

llvm-svn: 214395
2014-07-31 09:11:04 +00:00

27 lines
565 B
ArmAsm

# RUN: llvm-mc %s -triple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2 | FileCheck %s
.text
.globl mov1b
.align 16, 0x90
.type mov1b,@function
# CHECK-LABEL: mov1b
# CHECK: movb (%rsi), %al
# CHECK: movb %al, (%rdi)
# CHECK-NOT: callq __asan_report_load1@PLT
# CHECK-NOT: callq __asan_report_store1@PLT
mov1b: # @mov1b
.cfi_startproc
# BB#0:
#APP
movb (%rsi), %al
movb %al, (%rdi)
#NO_APP
retq
.Ltmp0:
.size mov1b, .Ltmp0-mov1b
.cfi_endproc
.ident "clang version 3.5 "
.section ".note.GNU-stack","",@progbits