Clang Project

clang_source_code/test/CodeGen/thinlto-distributed.ll
1; REQUIRES: x86-registered-target
2
3; Trivial test for distributes ThinLTO
4
5; RUN: opt -thinlto-bc -o %t.o %s
6
7; RUN: llvm-lto2 run -thinlto-distributed-indexes %t.o \
8; RUN:   -o %t2.index \
9; RUN:   -r=%t.o,main,px
10
11; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
12; RUN:   -emit-obj -fthinlto-index=%t.o.thinlto.bc \
13; RUN:   -o %t.native.o -x ir %t.o
14
15target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
16target triple = "x86_64-grtev4-linux-gnu"
17
18define i32 @main() {
19entry:
20  ret i32 0
21}
22