1 ; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -mcpu=pwr4 \
2 ; RUN: -mattr=-altivec < %s | FileCheck %s
4 ; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -mcpu=pwr4 \
5 ; RUN: -mattr=-altivec < %s | FileCheck %s
7 ; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -mcpu=pwr4 \
8 ; RUN: -mattr=-altivec -filetype=obj -o %t.o < %s
9 ; RUN: llvm-readobj --symbols %t.o | FileCheck --check-prefixes=XCOFF,XCOFF32 %s
11 ; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -mcpu=pwr4 \
12 ; RUN: -mattr=-altivec -filetype=obj -o %t64.o < %s
13 ; RUN: llvm-readobj --symbols %t64.o | FileCheck --check-prefixes=XCOFF,XCOFF64 %s
15 @_ZN3Foo1aE = available_externally constant i32 -1
17 ; CHECK: .extern _ZN3Foo1aE[UA]
19 ; XCOFF: Index: [[#Index:]]{{.*}}{{[[:space:]] *}}Name: _ZN3Foo1aE
20 ; XCOFF-NEXT: Value (RelocatableAddress): 0x0
21 ; XCOFF-NEXT: Section: N_UNDEF
22 ; XCOFF-NEXT: Type: 0x0
23 ; XCOFF-NEXT: StorageClass: C_EXT (0x2)
24 ; XCOFF-NEXT: NumberOfAuxEntries: 1
25 ; XCOFF-NEXT: CSECT Auxiliary Entry {
26 ; XCOFF-NEXT: Index: [[#Index+1]]
27 ; XCOFF-NEXT: SectionLen: 0
28 ; XCOFF-NEXT: ParameterHashIndex: 0x0
29 ; XCOFF-NEXT: TypeChkSectNum: 0x0
30 ; XCOFF-NEXT: SymbolAlignmentLog2: 0
31 ; XCOFF-NEXT: SymbolType: XTY_ER (0x0)
32 ; XCOFF-NEXT: StorageMappingClass: XMC_UA (0x4)
33 ; XCOFF32: StabInfoIndex: 0x0
34 ; XCOFF32-NEXT: StabSectNum: 0x0
35 ; XCOFF64: Auxiliary Type: AUX_CSECT (0xFB)