1; RUN: llc -mtriple powerpc-ibm-aix-xcoff -verify-machineinstrs < %s | FileCheck %s 2; RUN: not --crash llc -filetype=obj -mtriple powerpc-ibm-aix-xcoff \ 3; RUN: -verify-machineinstrs < %s 2>&1 | \ 4; RUN: FileCheck %s --check-prefix=OBJ 5 6@i = external global i32, align 4 #0 7 8; Function Attrs: noinline nounwind optnone 9define i32* @get() { 10 entry: 11 ret i32* @i 12} 13 14; CHECK: la 3, i[TD](2) 15; CHECK: .toc 16; CHECK-NEXT: .extern i[TD] 17 18; OBJ: LLVM ERROR: toc-data not yet supported when writing object files. 19 20attributes #0 = { "toc-data" } 21