ARM64: initial backend import
[oota-llvm.git] / test / MC / ARM64 / mapping-within-section.s
1 // RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
2
3     .text
4 // $x at 0x0000
5     add w0, w0, w0
6 // $d at 0x0004
7     .ascii "012"
8     .byte 1
9     .hword 2
10     .word 4
11     .xword 8
12     .single 4.0
13     .double 8.0
14     .space 10
15     .zero 3
16     .fill 10, 2, 42
17     .org 100, 12
18 // $x at 0x0018
19     add x0, x0, x0
20
21 // CHECK: 00000004         .text  00000000 $d
22 // CHECK-NEXT: 00000000         .text  00000000 $x
23 // CHECK-NEXT: 00000064         .text  00000000 $x