brintos

brintos / llvm-project-archived public Read only

0
0
Text · 487 B · 1ccb5ed Raw
13 lines · plain
1; RUN: llvm-as -o %t1.bc %s2; RUN: llvm-as -o %t2.bc %p/Inputs/commons.ll3; RUN: llvm-lto2 run %t1.bc -r=%t1.bc,x,l %t2.bc -r=%t2.bc,x,pl -o %t.out -save-temps4; RUN: llvm-dis -o - %t.out.0.0.preopt.bc  | FileCheck %s5 6; A strong definition should override the common7; CHECK: @x = dso_local global i32 42, align 48 9target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"10target triple = "x86_64-unknown-linux-gnu"11 12@x = common global i16 0, align 213