Home | History | Annotate | Download | only in AArch64
      1 // RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=asm -o - \
      2 // RUN:   | FileCheck %s --check-prefix=CHECK-ASM
      3 // RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=obj -o - \
      4 // RUN:   | llvm-readobj -s -sd | FileCheck %s  --check-prefix=CHECK-OBJ
      5 
      6     .section    .inst.aarch64_inst
      7 
      8     .align  2
      9     .global aarch64_inst
     10     .type   aarch64_inst,%function
     11 aarch64_inst:
     12     .inst 0x5e104020
     13 
     14 // CHECK-ASM:        .align  2
     15 // CHECK-ASM:        .globl  aarch64_inst
     16 // CHECK-ASM:        .type   aarch64_inst,@function
     17 // CHECK-ASM: aarch64_inst:
     18 // CHECK-ASM:        .inst   0x5e104020
     19 
     20 // CHECK-OBJ: Section {
     21 // CHECK-OBJ:   Name: .inst.aarch64_inst
     22 // CHECK-OBJ:   SectionData (
     23 // CHECK-OBJ-NEXT: 0000: 2040105E
     24 // CHECK-OBJ-NEXT: )
     25