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