]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/tools/gold/X86/stats.ll
Vendor import of llvm trunk r300422:
[FreeBSD/FreeBSD.git] / test / tools / gold / X86 / stats.ll
1 ; REQUIRES: asserts
2
3 ; RUN: llvm-as %s -o %t.o
4 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so  -shared \
5 ; RUN:    -m elf_x86_64 \
6 ; RUN:    -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
7
8 ; RUN: llvm-as %s -o %t.o
9 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so  -shared \
10 ; RUN:    -m elf_x86_64 \
11 ; RUN:    -plugin-opt=thinlto \
12 ; RUN:    -plugin-opt=thinlto-index-only \
13 ; RUN:    -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
14
15 ; CHECK: Statistics Collected
16
17 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
18 target triple = "x86_64-unknown-linux-gnu"