From cb7b6af30e89ba585e70b84b3b60e1a7d3d1640e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 28 Jun 2018 22:58:04 +0000 Subject: DebugInfo: Add -gno-gnu-pubnames to allow disabling gnu-pubnames later in the command line llvm-svn: 335938 --- clang/test/Driver/debug-options.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/test/Driver/debug-options.c') 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 // -- cgit v1.2.3