[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / ps4-ps5-relax-relocations.c
blobafb83d61cd053b61ef52f61b5a050ea5babab82d
1 // RUN: %clang -### -target x86_64-scei-ps4 %s -o - 2>&1 | \
2 // RUN: FileCheck %s
3 // RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
4 // RUN: FileCheck %s
5 // RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
6 // RUN: FileCheck -check-prefix=UNSET %s
7 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 %s -o - 2>&1 | \
8 // RUN: FileCheck %s
9 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
10 // RUN: FileCheck %s
11 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
12 // RUN: FileCheck -check-prefix=UNSET %s
14 // RUN: %clang -### -target x86_64-sie-ps5 %s -o - 2>&1 | \
15 // RUN: FileCheck %s
16 // RUN: %clang -### -target x86_64-sie-ps5 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
17 // RUN: FileCheck %s
18 // RUN: %clang -### -target x86_64-sie-ps5 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
19 // RUN: FileCheck -check-prefix=UNSET %s
20 // RUN: %clang -### -x assembler -target x86_64-sie-ps5 %s -o - 2>&1 | \
21 // RUN: FileCheck %s
22 // RUN: %clang -### -x assembler -target x86_64-sie-ps5 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
23 // RUN: FileCheck %s
24 // RUN: %clang -### -x assembler -target x86_64-sie-ps5 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
25 // RUN: FileCheck -check-prefix=UNSET %s
27 // CHECK-NOT: "-mrelax-relocations
29 // UNSET: "-mrelax-relocations=no"