1*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -triple armv7-elf -filetype asm -o - %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \ 3*9880d681SAndroid Build Coastguard Worker@ RUN: | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ 4*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_CPU_arch, 4 5*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 6, 4 6*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 6 7*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 8*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: CPU_arch 9*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARM v5TE 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_FP_arch, 4 12*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 10, 4 13*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 10 14*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 15*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: FP_arch 16*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: VFPv3-D16 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_Advanced_SIMD_arch, 4 19*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 12, 4 20*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 12 21*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 22*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: Advanced_SIMD_arch 23*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARMv8.1-a NEON 24*9880d681SAndroid Build Coastguard Worker 25*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_PCS_config, 4 26*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 13, 4 27*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 13 28*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 29*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: PCS_config 30*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Palm OS 2004 31*9880d681SAndroid Build Coastguard Worker 32*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_ABI_PCS_wchar_t, 4 33*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 18, 4 34*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 18 35*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 36*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_PCS_wchar_t 37*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 4-byte 38*9880d681SAndroid Build Coastguard Worker 39*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_ABI_align_needed, 4 40*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 24, 4 41*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 24 42*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 43*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_needed 44*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte alignment, 16-byte extended alignment 45*9880d681SAndroid Build Coastguard Worker 46*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_ABI_align_preserved, 4 47*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 25, 4 48*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 25 49*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 50*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_preserved 51*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte stack alignment, 16-byte data alignment 52*9880d681SAndroid Build Coastguard Worker 53*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_ABI_optimization_goals, 4 54*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 30, 4 55*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 30 56*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 57*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_optimization_goals 58*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Aggressive Size 59*9880d681SAndroid Build Coastguard Worker 60*9880d681SAndroid Build Coastguard Worker.eabi_attribute Tag_ABI_FP_optimization_goals, 4 61*9880d681SAndroid Build Coastguard Worker@CHECK: .eabi_attribute 31, 4 62*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 31 63*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 4 64*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_FP_optimization_goals 65*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Aggressive Size 66*9880d681SAndroid Build Coastguard Worker 67