[LV] Add test showing debug output for loops with uncountable BTCs.
[llvm-project.git] / clang / test / Driver / ps4-ps5-toolchain.c
blobc9987c2b5758b3a9d00b7117421055581d0e92e8
1 /// PS4/PS5 miscellaneous toolchain behavior.
3 // RUN: %clang -c %s -### -target x86_64-scei-ps4 2>&1 | FileCheck %s
4 // RUN: %clang -c %s -### -target x86_64-sie-ps5 2>&1 | FileCheck %s
5 // CHECK-DAG: "-ffunction-sections"
6 // CHECK-DAG: "-fdata-sections"
7 // CHECK-DAG: "-fdeclspec"
9 /// Verify LTO is enabled (no diagnostic).
10 // RUN: %clang %s -### -target x86_64-scei-ps4 -flto 2>&1 | FileCheck %s --check-prefix=LTO
11 // RUN: %clang %s -### -target x86_64-sie-ps5 -flto 2>&1 | FileCheck %s --check-prefix=LTO
12 // LTO-NOT: error:
13 // LTO-NOT: unable to pass LLVM bit-code
15 // Verify that the jump table sizes section is enabled.
16 // RUN: %clang %s -target x86_64-sie-ps5 -### 2>&1 | FileCheck -check-prefix=JUMPTABLESIZES %s
17 // JUMPTABLESIZES: "-mllvm" "-emit-jump-table-sizes-section"
18 // JUMPTABLESIZES: "-plugin-opt=-emit-jump-table-sizes-section"