summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug-options.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-09-13 22:37:55 +0000
committerEric Christopher <echristo@gmail.com>2013-09-13 22:37:55 +0000
commit138c32b402e0f384fb6c72d101cfbcf7bcc5a0f9 (patch)
tree55530cae3e1ea2d492f24e029d6e6bbf5f5922df /clang/test/Driver/debug-options.c
parent2d6f64e5ae58df33e31529c422d7874808e39b3b (diff)
downloadbcm5719-llvm-138c32b402e0f384fb6c72d101cfbcf7bcc5a0f9.tar.gz
bcm5719-llvm-138c32b402e0f384fb6c72d101cfbcf7bcc5a0f9.zip
Add support for -ggnu-pubnames matching the llvm support.
llvm-svn: 190729
Diffstat (limited to 'clang/test/Driver/debug-options.c')
-rw-r--r--clang/test/Driver/debug-options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c
index 449d8a9bdae..1f890b2e67f 100644
--- a/clang/test/Driver/debug-options.c
+++ b/clang/test/Driver/debug-options.c
@@ -47,6 +47,8 @@
// RUN: -fno-debug-types-section %s 2>&1 \
// RUN: | FileCheck -check-prefix=GIGNORE %s
//
+// RUN: %clang -### -c -ggnu-pubnames %s 2>&1 | FileCheck -check-prefix=GOPT %s
+//
// G: "-cc1"
// G: "-g"
//
@@ -78,3 +80,5 @@
// GLTO_NO-NOT: "-gline-tables-only"
//
// GIGNORE-NOT: "argument unused during compilation"
+//
+// GOPT: -generate-gnu-dwarf-pub-sections
OpenPOWER on IntegriCloud