1 ; RUN: llc -mtriple powerpc-ibm-aix -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec \
2 ; RUN: -filetype=obj -o %t.o < %s
3 ; RUN: llvm-readobj --syms %t.o | FileCheck %s
5 ; RUN: llc -mtriple powerpc64-ibm-aix -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec \
6 ; RUN: -filetype=obj -o %t64.o < %s
7 ; RUN: llvm-readobj --syms %t64.o | FileCheck %s
9 define internal i32 @foo() {
15 ; CHECK-NEXT: Value (RelocatableAddress):
16 ; CHECK-NEXT: Section: .text
17 ; CHECK-NEXT: Type: 0x0
18 ; CHECK-NEXT: StorageClass: C_HIDEXT (0x6B)
21 ; CHECK-NEXT: Index: [[#INDX:]]
22 ; CHECK-NEXT: Name: foo
23 ; CHECK-NEXT: Value (RelocatableAddress):
24 ; CHECK-NEXT: Section: .data
25 ; CHECK-NEXT: Type: 0x0
26 ; CHECK-NEXT: StorageClass: C_HIDEXT (0x6B)
27 ; CHECK-NEXT: NumberOfAuxEntries: 1
28 ; CHECK-NEXT: CSECT Auxiliary Entry {
29 ; CHECK-NEXT: Index: [[#INDX+1]]
30 ; CHECK-NEXT: SectionLen:
31 ; CHECK-NEXT: ParameterHashIndex:
32 ; CHECK-NEXT: TypeChkSectNum:
33 ; CHECK-NEXT: SymbolAlignmentLog2:
34 ; CHECK-NEXT: SymbolType: XTY_SD (0x1)
35 ; CHECK-NEXT: StorageMappingClass: XMC_DS (0xA)
37 ; Make sure no label is emitted.
38 ; CHECK-NOT: Name: foo