brintos

brintos / llvm-project-archived public Read only

0
0
Text · 459 B · 2b2ee83 Raw
16 lines · plain
1; RUN: llvm-as %s -o %t.o2 3; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \4; RUN:    --plugin-opt=emit-llvm \5; RUN:    -shared %t.o -o %t2.o 2>&1 | FileCheck %s6 7; CHECK: Unable to determine comdat of alias!8 9target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"10 11@g1 = global i32 112@g2 = global i32 213 14@a = alias i32, inttoptr(i32 sub (i32 ptrtoint (ptr @g1 to i32),15                                  i32 ptrtoint (ptr @g2 to i32)) to ptr)16