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 %t 4// RUN: llvm-readobj -s -sd %t | FileCheck %s --check-prefix=CHECK-OBJ 5// RUN: llvm-objdump -t %t | FileCheck %s --check-prefix=CHECK-SYMS 6 7// RUN: llvm-mc %s -triple=aarch64_be-none-linux-gnu -filetype=asm -o - \ 8// RUN: | FileCheck %s --check-prefix=CHECK-ASM 9// RUN: llvm-mc %s -triple=aarch64_be-none-linux-gnu -filetype=obj -o %t 10// RUN: llvm-readobj -s -sd %t | FileCheck %s --check-prefix=CHECK-OBJ 11// RUN: llvm-objdump -t %t | FileCheck %s --check-prefix=CHECK-SYMS 12 13 .section .inst.aarch64_inst 14 15 .p2align 2 16 .global aarch64_inst 17 .type aarch64_inst,%function 18aarch64_inst: 19 .inst 0x5e104020 20 21// CHECK-ASM: .p2align 2 22// CHECK-ASM: .globl aarch64_inst 23// CHECK-ASM: .type aarch64_inst,@function 24// CHECK-ASM: aarch64_inst: 25// CHECK-ASM: .inst 0x5e104020 26 27// CHECK-OBJ: Section { 28// CHECK-OBJ: Name: .inst.aarch64_inst 29// CHECK-OBJ: SectionData ( 30// CHECK-OBJ-NEXT: 0000: 2040105E 31// CHECK-OBJ-NEXT: ) 32 33// CHECK-SYMS-NOT: 0000000000000000 .inst.aarch64_inst 00000000 $d 34// CHECK-SYMS: 0000000000000000 .inst.aarch64_inst 00000000 $x 35// CHECK-SYMS-NOT: 0000000000000000 .inst.aarch64_inst 00000000 $d 36