mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
77a7b50432
Differential revision: https://reviews.llvm.org/D41238 llvm-svn: 320710
19 lines
586 B
LLVM
19 lines
586 B
LLVM
; REQUIRES: asserts
|
|
|
|
; RUN: llvm-as %s -o %t.o
|
|
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \
|
|
; RUN: -m elf_x86_64 \
|
|
; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
|
|
|
|
; RUN: llvm-as %s -o %t.o
|
|
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \
|
|
; RUN: -m elf_x86_64 \
|
|
; RUN: -plugin-opt=thinlto \
|
|
; RUN: -plugin-opt=thinlto-index-only \
|
|
; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
|
|
|
|
; CHECK: Statistics Collected
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|