llvm-for-llvmta/tools/clang/test/Driver/preserve-uselistorder.c

10 lines
350 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang -target x86_64-apple-darwin -emit-llvm -arch x86_64 %s -### 2>&1 \
// RUN: | FileCheck %s
// CHECK: "-emit-llvm-bc"
// CHECK: "-emit-llvm-uselists"
// RUN: %clang -target x86_64-apple-darwin -flto -arch x86_64 %s -### 2>&1 \
// RUN: | FileCheck -check-prefix=LTO %s
// LTO: "-emit-llvm-bc"
// LTO-NOT: "-emit-llvm-uselists"