Debian Codegraph @

llvm/test/tools/gold/X86/thinlto_no_objects.ll

raw
1 ; Check that thinlto-index-only= always creates linked objects file, even
2 ; if nothing to add there.
3
4 ; Non-ThinLTO file should not get into list of linked objects.
5 ; RUN: opt %s -o %t.o
6
7 ; RUN: rm -f %t3
8 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
9 ; RUN: --plugin-opt=thinlto \
10 ; RUN: --plugin-opt=thinlto-index-only=%t3 \
11 ; RUN: -o %t5 \
12 ; RUN: %t.o
13
14 ; RUN: cat %t3 | count 0
15
16 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
17 target triple = "x86_64-unknown-linux-gnu"
18