mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
d6af41b2eb
For now it contains a single flag, SanitizeAddress, which enables AddressSanitizer instrumentation of inline assembly. Patch by Yuri Gorshenin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206971 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
527 B
ArmAsm
25 lines
527 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-NOT: callq __sanitizer_sanitize_load1@PLT
|
|
# CHECK-NOT: callq __sanitizer_sanitize_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
|