diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-01-18 02:02:06 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-01-18 02:02:06 +0000 |
commit | d74be70aba687b406a0365494eb85d1d45f708b0 (patch) | |
tree | 3a93c89a436ec0d23e89c5b1f5bb5964c397bccd /clang/test/Driver/debug-options.c | |
parent | 6826d2278428019e45016137272b08a7170413aa (diff) | |
download | bcm5719-llvm-d74be70aba687b406a0365494eb85d1d45f708b0.tar.gz bcm5719-llvm-d74be70aba687b406a0365494eb85d1d45f708b0.zip |
Driver support for -fdebug-types-sections
Using backend-option like a few other debug codegen flags. I believe
Eric Christopher's working at porting those over to something nicer
such as an API level CodeGenOptions or the like, so this can be
improved along with that work.
llvm-svn: 199535
Diffstat (limited to 'clang/test/Driver/debug-options.c')
-rw-r--r-- | clang/test/Driver/debug-options.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c index 526083719d8..65350a67f97 100644 --- a/clang/test/Driver/debug-options.c +++ b/clang/test/Driver/debug-options.c @@ -45,12 +45,14 @@ // RUN: | FileCheck -check-prefix=GLTO_NO %s // // RUN: %clang -### -c -grecord-gcc-switches -gno-record-gcc-switches \ -// RUN: -gstrict-dwarf -gno-strict-dwarf -fdebug-types-section \ -// RUN: -fno-debug-types-section %s 2>&1 \ +// RUN: -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \ // RUN: | FileCheck -check-prefix=GIGNORE %s // // RUN: %clang -### -c -ggnu-pubnames %s 2>&1 | FileCheck -check-prefix=GOPT %s // +// RUN: %clang -### -fdebug-types-section %s 2>&1 \ +// RUN: | FileCheck -check-prefix=FDTS %s +// // G: "-cc1" // G: "-g" // @@ -90,3 +92,5 @@ // GIGNORE-NOT: "argument unused during compilation" // // GOPT: -generate-gnu-dwarf-pub-sections +// +// FDTS: "-backend-option" "-generate-type-units" |