summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug-options.c
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-06-28 22:58:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-06-28 22:58:04 +0000
commitcb7b6af30e89ba585e70b84b3b60e1a7d3d1640e (patch)
tree43787bd52567c1472cb9869552b8909a1599b1fa /clang/test/Driver/debug-options.c
parent730c985d56c007b84f7022f7d2cfe6eafe5d3a62 (diff)
downloadbcm5719-llvm-cb7b6af30e89ba585e70b84b3b60e1a7d3d1640e.tar.gz
bcm5719-llvm-cb7b6af30e89ba585e70b84b3b60e1a7d3d1640e.zip
DebugInfo: Add -gno-gnu-pubnames to allow disabling gnu-pubnames later in the command line
llvm-svn: 335938
Diffstat (limited to 'clang/test/Driver/debug-options.c')
-rw-r--r--clang/test/Driver/debug-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c
index ebbf2937608..6d28a7169d9 100644
--- a/clang/test/Driver/debug-options.c
+++ b/clang/test/Driver/debug-options.c
@@ -134,6 +134,8 @@
// RUN: | FileCheck -check-prefix=GIGNORE %s
//
// RUN: %clang -### -c -ggnu-pubnames %s 2>&1 | FileCheck -check-prefix=GOPT %s
+// RUN: %clang -### -c %s 2>&1 | FileCheck -check-prefix=NOGOPT %s
+// RUN: %clang -### -c -ggnu-pubnames -gno-gnu-pubnames %s 2>&1 | FileCheck -check-prefix=NOGOPT %s
//
// RUN: %clang -### -c -gdwarf-aranges %s 2>&1 | FileCheck -check-prefix=GARANGE %s
//
@@ -222,6 +224,7 @@
// GIGNORE-NOT: "argument unused during compilation"
//
// GOPT: -ggnu-pubnames
+// NOGOPT-NOT: -ggnu-pubnames
//
// GARANGE: -generate-arange-section
//
OpenPOWER on IntegriCloud