forked from OSchip/llvm-project
Tweak a -g related test for the PS4
Make sure we're matching what we want: - Always have -generate-arange-section (independent of -g) - Emit a -dwarf-version=... when -g is there. llvm-svn: 250298
This commit is contained in:
parent
9c2d788dda
commit
2432ff59d3
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue