diff options
author | Ekaterina Romanova <katya_romanova@playstation.sony.com> | 2015-10-14 01:09:02 +0000 |
---|---|---|
committer | Ekaterina Romanova <katya_romanova@playstation.sony.com> | 2015-10-14 01:09:02 +0000 |
commit | fb7d1d842ea81555a442590e2b5293618e1eaa67 (patch) | |
tree | 879515534d4fda736f6544fc88bb25db7ec27ee6 /test/Driver/debug-options.c | |
parent | 08b6d449b72915397f02af12f6b44a65807b92e0 (diff) | |
download | clang-fb7d1d842ea81555a442590e2b5293618e1eaa67.tar.gz |
I took care of the build problem in the commit 250252.
Resubmitting the patch.
This patch adds missing pieces to clang, including the PS4 toolchain
definition, added warnings, PS4 defaults, and Driver changes needed for
our compiler.
A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova!
Differential Revision: http://reviews.llvm.org/D13482
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/debug-options.c')
-rw-r--r-- | test/Driver/debug-options.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c index 437e9fcb50..25ccc3ea4a 100644 --- a/test/Driver/debug-options.c +++ b/test/Driver/debug-options.c @@ -27,6 +27,17 @@ // RUN: %clang -### -c -ggdb3 %s -target x86_64-apple-darwin 2>&1 \ // RUN: | FileCheck -check-prefix=G_DARWIN %s +// 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: %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 \ +// RUN: | FileCheck -check-prefix=NOCI %s +// RUN: %clang -### -c %s -g -gcolumn-info -target x86_64-scei-ps4 2>&1 \ +// RUN: | FileCheck -check-prefix=CI %s + // RUN: %clang -### -c -gdwarf-2 %s 2>&1 | FileCheck -check-prefix=G_D2 %s // // RUN: %clang -### -c -gfoo %s 2>&1 | FileCheck -check-prefix=G_NO %s @@ -86,6 +97,9 @@ // G_DARWIN: "-cc1" // G_DARWIN: "-dwarf-version=2" // +// G_PS4: "-cc1" +// G_PS4: "-generate-arange-section" +// // G_D2: "-cc1" // G_D2: "-dwarf-version=2" // |