1 ; RUN: opt -thinlto-bc -o %t.o %s
3 ; RUN: llvm-lto2 run -thinlto-distributed-indexes %t.o \
5 ; RUN: -r=%t.o,_use_arc,px
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.o
11 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
12 target triple = "x86_64-apple-darwin"
14 define void @use_arc(ptr %a, ptr %b) {
15 call void (...) @llvm.objc.clang.arc.use(ptr %a, ptr %b) nounwind
19 declare void @llvm.objc.clang.arc.use(...) nounwind