Debian Codegraph @

llvm/test/CodeGen/PowerPC/basic-toc-data-private-linkage.ll

raw
1 ; RUN: not --crash llc -mtriple powerpc-ibm-aix-xcoff -verify-machineinstrs \
2 ; RUN: < %s 2>&1 | FileCheck %s
3 ; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff -verify-machineinstrs \
4 ; RUN: < %s 2>&1 | FileCheck %s
5
6 @iprivate = private global i32 55 #0
7
8 define nonnull ptr @get() local_unnamed_addr {
9 entry:
10 ret ptr @iprivate
11 }
12
13 attributes #0 = { "toc-data" }
14
15 ; CHECK: LLVM ERROR: A GlobalVariable with private linkage is not currently supported by the toc data transformation.