llvm-for-llvmta/test/tools/lto/print-stats.ll

10 lines
438 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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