diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c index 20a23e274828..8f865f2f5b8f 100644 --- a/clang/test/Driver/debug-options.c +++ b/clang/test/Driver/debug-options.c @@ -30,7 +30,7 @@ // On the PS4, -g defaults to -gno-column-info, and we always generate the // arange section. // RUN: %clang -### -c %s -target x86_64-scei-ps4 2>&1 \ -// RUN: | FileCheck -check-prefix=G_PS4 %s +// RUN: | FileCheck -check-prefix=NOG_PS4 %s // RUN: %clang -### -c %s -g -target x86_64-scei-ps4 2>&1 \ // RUN: | FileCheck -check-prefix=G_PS4 %s // RUN: %clang -### -c %s -g -target x86_64-scei-ps4 2>&1 \ @@ -98,7 +98,13 @@ // G_DARWIN: "-cc1" // G_DARWIN: "-dwarf-version=2" // +// NOG_PS4: "-cc1" +// NOG_PS4-NOT "-dwarf-version= +// NOG_PS4: "-generate-arange-section" +// NOG_PS4-NOT: "-dwarf-version= +// // G_PS4: "-cc1" +// G_PS4: "-dwarf-version= // G_PS4: "-generate-arange-section" // // G_D2: "-cc1"