1 ; RUN: llc %s -mtriple=armv7-linux-gnueabi -filetype=obj -o - | \
2 ; RUN: llvm-readobj -S --symbols - | FileCheck -check-prefix=OBJ %s
3 ; RUN: llc %s -mtriple=armv7-linux-gnueabi -o - | \
4 ; RUN: FileCheck -check-prefix=ASM %s
7 @dummy = internal global i32 666
8 @array00 = internal global [80 x i8] zeroinitializer, align 1
9 @sum = internal global i32 55
10 @STRIDE = internal global i32 8
12 ; ASM: .type array00,%object @ @array00
13 ; ASM-NEXT: .local array00
14 ; ASM-NEXT: .comm array00,80,1
15 ; ASM-NEXT: .type sum,%object @ @sum
21 ; OBJ-NEXT: Value: 0x0
23 ; OBJ-NEXT: Binding: Local
24 ; OBJ-NEXT: Type: Object
26 ; OBJ-NEXT: Section: .bss
28 define i32 @main(i32 %argc) nounwind {
29 %1 = load i32, ptr @sum, align 4
30 %2 = getelementptr [80 x i8], ptr @array00, i32 0, i32 %argc
32 %4 = zext i8 %3 to i32