llvm/test/tools/lto/print-stats.ll
Adam Nemet 6782c499e7 Fix test from r261013
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261027 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-16 22:50:19 +00:00

10 lines
438 B
LLVM

; RUN: llvm-as %s -o %t.o
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -stats -o %t.dylib %t.o 2>&1 | FileCheck --check-prefix=STATS %s
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -o %t.dylib %t.o 2>&1 | FileCheck --check-prefix=NO_STATS %s
; REQUIRES: asserts
target triple = "x86_64-apple-macosx10.8.0"
; STATS: Statistics Collected
; NO_STATS-NOT: Statistics Collected