xref: /llvm-project/llvm/test/CodeGen/PowerPC/aix-xcoff-data-only-notoc.ll (revision 427fb35192f1f7bb694a5910b05abc5925a798b2)
1; RUN: llc -mtriple powerpc-ibm-aix-xcoff < %s | FileCheck %s
2; RUN: llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
3
4; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t.o < %s
5; RUN: llvm-readobj --syms %t.o | FileCheck --check-prefix=SYMS %s
6
7; RUN: llc -mtriple powerpc64-ibm-aix-xcoff -filetype=obj -o %t64.o < %s
8; RUN: llvm-readobj --syms %t64.o | FileCheck --check-prefix=SYMS %s
9
10@a = external global i32, align 4
11@b = external global i64, align 8
12@c = external global i16, align 2
13@globa = common global i32 0, align 4
14
15@ptr = internal global ptr null, align 4
16
17; CHECK-NOT: .toc
18; SYMS-NOT: Name: TOC
19