• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: asserts
2
3; RUN: llvm-as %s -o %t.o
4; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext  -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%shlibext  -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
17target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
18target triple = "x86_64-unknown-linux-gnu"
19