| 1 |
; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -mcpu=pwr7 < %s | FileCheck %s |
| 2 |
|
| 3 |
; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -mcpu=pwr7 --filetype=obj -o %t.o < %s |
| 4 |
; RUN: llvm-objdump --syms %t.o | FileCheck %s --check-prefix=OBJ |
| 5 |
|
| 6 |
%struct.anon = type {} |
| 7 |
|
| 8 |
@a = internal constant %struct.anon zeroinitializer, align 1 |
| 9 |
@b = internal constant [6 x i8] c"hello\00", align 1 |
| 10 |
|
| 11 |
; CHECK: .csect L.._MergedGlobals[RO],2 |
| 12 |
; CHECK-NEXT: .lglobl a # @_MergedGlobals |
| 13 |
; CHECK-NEXT: .lglobl b |
| 14 |
; CHECK-NEXT: a: |
| 15 |
; CHECK-NEXT: b: |
| 16 |
; CHECK-NEXT: .string "hello" |
| 17 |
|
| 18 |
; OBJ: 0000000000000000 l .text 0000000000000006 L.._MergedGlobals |
| 19 |
; OBJ-NEXT: 0000000000000000 l .text (csect: L.._MergedGlobals) 0000000000000000 a |
| 20 |
; OBJ-NEXT: 0000000000000000 l .text (csect: L.._MergedGlobals) 0000000000000000 b |