• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // REQUIRES: x86-registered-target
2 
3 // RUN: %clang -### -target x86_64-scei-ps4 %s -o - 2>&1 | \
4 // RUN:   FileCheck %s
5 // RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
6 // RUN:   FileCheck %s
7 // RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
8 // RUN:   FileCheck -check-prefix=UNSET %s
9 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 %s -o - 2>&1 | \
10 // RUN:   FileCheck %s
11 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
12 // RUN:   FileCheck %s
13 // RUN: %clang -### -x assembler -target x86_64-scei-ps4 -Wa,-mrelax-relocations=no %s -o - 2>&1 | \
14 // RUN:   FileCheck -check-prefix=UNSET %s
15 
16 // CHECK: "--mrelax-relocations"
17 
18 // UNSET-NOT: "--mrelax-relocations"
19