brintos

brintos / llvm-project-archived public Read only

0
0
Text · 592 B · e0256da Raw
20 lines · plain
1; RUN: opt -thinlto-bc -o %t.o %s2 3; RUN: llvm-lto2 run -thinlto-distributed-indexes %t.o \4; RUN:   -o %t2.index \5; RUN:   -r=%t.o,_use_arc,px6 7; RUN: %clang_cc1 -O2 -triple x86_64-apple-darwin \8; RUN:   -emit-obj -fthinlto-index=%t.o.thinlto.bc \9; RUN:   -o %t.native.o -x ir %t.o10 11target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"12target triple = "x86_64-apple-darwin"13 14define void @use_arc(ptr %a, ptr %b) {15  call void (...) @llvm.objc.clang.arc.use(ptr %a, ptr %b) nounwind16  ret void17}18 19declare void @llvm.objc.clang.arc.use(...) nounwind20