38 lines · plain
1// RUN: llvm-mc -triple aarch64-elf -filetype asm %s | FileCheck %s --check-prefix=ASM2// RUN: llvm-mc -triple aarch64-elf -filetype obj %s \3// RUN: | llvm-readelf -s - | FileCheck %s --check-prefix=OBJ4 5// ASM: .variant_pcs local6// ASM-NEXT: local:7.text8.variant_pcs local9local:10 11/// Binding directive before .variant_pcs.12// ASM: .globl def113// ASM-NEXT: .variant_pcs def114// ASM-NEXT: def1:15.global def116.variant_pcs def117def1:18 19/// .variant_pcs before binding directive.20// ASM: .variant_pcs def221// ASM-NEXT: .weak def222// ASM-NEXT: def2:23.variant_pcs def224.weak def225def2:26 27.globl alias_def128.set alias_def1, def129 30// ASM: .variant_pcs undef31.variant_pcs undef32 33// OBJ: NOTYPE LOCAL DEFAULT [VARIANT_PCS] [[#]] local34// OBJ-NEXT: NOTYPE GLOBAL DEFAULT [VARIANT_PCS] [[#]] def135// OBJ-NEXT: NOTYPE WEAK DEFAULT [VARIANT_PCS] [[#]] def236// OBJ-NEXT: NOTYPE GLOBAL DEFAULT [[#]] alias_def137// OBJ-NEXT: NOTYPE GLOBAL DEFAULT [VARIANT_PCS] UND undef38