llvm-project/clang/test/Driver/preserve-uselistorder.c

10 lines
350 B
C
Raw Normal View History

// 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"