1 # RUN: llvm-mc %s -x86-asm-syntax=intel -triple=x86_64-unknown-linux-gnu -asm-instrumentation=address -asan-instrument-assembly | FileCheck %s
9 # CHECK: leaq -128(%rsp), %rsp
10 # CHECK: callq __asan_report_load8@PLT
11 # CHECK: leaq 128(%rsp), %rsp
13 # CHECK: movq (%rcx), %rax
15 # CHECK: leaq -128(%rsp), %rsp
16 # CHECK: callq __asan_report_load8@PLT
17 # CHECK: leaq 128(%rsp), %rsp
19 # CHECK: movq (%rdx), %rbx
21 # CHECK: leaq -128(%rsp), %rsp
22 # CHECK: callq __asan_report_store8@PLT
23 # CHECK: leaq 128(%rsp), %rsp
25 # CHECK: movq %rbx, (%rcx)
27 # CHECK: leaq -128(%rsp), %rsp
28 # CHECK: callq __asan_report_store8@PLT
29 # CHECK: leaq 128(%rsp), %rsp
31 # CHECK: movq %rax, (%rdx)
37 .cfi_def_cfa_offset 16
45 mov rax
, qword ptr
[rcx
]
46 mov rbx
, qword ptr
[rdx
]
47 mov qword ptr
[rcx
], rbx
48 mov qword ptr
[rdx
], rax
54 .size swap, .Ltmp2-swap
58 .ident "clang version 3.5.0 "
59 .section ".note.GNU-stack","",@progbits