brintos

brintos / llvm-project-archived public Read only

0
0
Text · 372 B · 203f60f Raw
11 lines · plain
1; RUN: opt -module-summary %s -o %t.bc2; RUN: llvm-lto -thinlto-action=thinlink -o %t2.bc %t.bc3 4; RUN: llvm-lto -thinlto-action=internalize %t.bc -thinlto-index=%t2.bc -exported-symbol=_foo -o - | llvm-dis -o - | FileCheck %s5 6; CHECK: define weak_odr void @foo()7target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"8define linkonce_odr void @foo() {9  ret void10}11