|
118 | 118 | // RUN: %clang_cl -### -c -Z7 -target x86_64-windows-msvc -- %s 2>&1 \ |
119 | 119 | // RUN: | FileCheck -check-prefix=G_NOTUNING %s |
120 | 120 |
|
121 | | -// On the PS4/PS5, -g defaults to -gno-column-info, and we always generate the |
122 | | -// arange section. |
| 121 | +// On the PS4/PS5, -g defaults to -gno-column-info. We default to always |
| 122 | +// generating the arange section, but keyed off SCE DebuggerTuning being in |
| 123 | +// play during codegen, instead of -generate-arange-section. |
123 | 124 | // RUN: %clang -### -c %s -target x86_64-scei-ps4 2>&1 \ |
124 | 125 | // RUN: | FileCheck -check-prefix=NOG_PS %s |
125 | 126 | // RUN: %clang -### -c %s -target x86_64-sie-ps5 2>&1 \ |
126 | 127 | // RUN: | FileCheck -check-prefix=NOG_PS %s |
127 | 128 | /// PS4 will stay on v4 even if the generic default version changes. |
128 | 129 | // RUN: %clang -### -c %s -g -target x86_64-scei-ps4 2>&1 \ |
129 | | -// RUN: | FileCheck -check-prefixes=G_DWARF4,GARANGE,G_SCE,NOCI,FWD_TMPL_PARAMS %s |
| 130 | +// RUN: | FileCheck -check-prefixes=G_DWARF4,G_SCE,NOCI,FWD_TMPL_PARAMS %s |
130 | 131 | // RUN: %clang -### -c %s -g -target x86_64-sie-ps5 2>&1 \ |
131 | | -// RUN: | FileCheck -check-prefixes=G_DWARF5,GARANGE,G_SCE,NOCI,FWD_TMPL_PARAMS %s |
| 132 | +// RUN: | FileCheck -check-prefixes=G_DWARF5,G_SCE,NOCI,FWD_TMPL_PARAMS %s |
132 | 133 | // RUN: %clang -### -c %s -g -gcolumn-info -target x86_64-scei-ps4 2>&1 \ |
133 | 134 | // RUN: | FileCheck -check-prefix=CI %s |
134 | 135 | // RUN: %clang -### -c %s -gsce -target x86_64-unknown-linux 2>&1 \ |
135 | 136 | // RUN: | FileCheck -check-prefix=NOCI %s |
136 | 137 | // RUN: %clang -### %s -g -flto=thin -target x86_64-scei-ps4 2>&1 \ |
137 | | -// RUN: | FileCheck -check-prefix=SNLDTLTOGARANGE %s |
| 138 | +// RUN: | FileCheck -check-prefix=LDGARANGE %s |
138 | 139 | // RUN: %clang -### %s -g -flto=full -target x86_64-scei-ps4 2>&1 \ |
139 | | -// RUN: | FileCheck -check-prefix=SNLDFLTOGARANGE %s |
| 140 | +// RUN: | FileCheck -check-prefix=LDGARANGE %s |
140 | 141 | // RUN: %clang -### %s -g -flto -target x86_64-scei-ps5 2>&1 \ |
141 | | -// RUN: | FileCheck -check-prefix=LLDGARANGE %s |
| 142 | +// RUN: | FileCheck -check-prefix=LDGARANGE %s |
142 | 143 | // RUN: %clang -### %s -g -target x86_64-scei-ps5 2>&1 \ |
143 | 144 | // RUN: | FileCheck -check-prefix=LDGARANGE %s |
144 | 145 |
|
|
321 | 322 | // |
322 | 323 | // NOG_PS: "-cc1" |
323 | 324 | // NOG_PS-NOT: "-dwarf-version= |
324 | | -// NOG_PS: "-generate-arange-section" |
325 | | -// NOG_PS-NOT: "-dwarf-version= |
| 325 | +// NOG_PS-NOT: "-generate-arange-section" |
326 | 326 | // |
327 | 327 | // G_ERR: error: unknown argument: |
328 | 328 | // |
|
402 | 402 | // |
403 | 403 |
|
404 | 404 | // LDGARANGE: {{".*ld.*"}} {{.*}} |
405 | | -// LDGARANGE-NOT: "-plugin-opt=-generate-arange-section" |
406 | | -// LLDGARANGE: {{".*lld.*"}} {{.*}} "-plugin-opt=-generate-arange-section" |
| 405 | +// LDGARANGE-NOT: -generate-arange-section" |
407 | 406 | // SNLDTLTOGARANGE: {{".*orbis-ld.*"}} {{.*}} "-lto-thin-debug-options= -generate-arange-section" |
408 | 407 | // SNLDFLTOGARANGE: {{".*orbis-ld.*"}} {{.*}} "-lto-debug-options= -generate-arange-section" |
409 | 408 |
|
|
0 commit comments