diff options
author | Eric Christopher <echristo@gmail.com> | 2014-02-14 01:27:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-02-14 01:27:03 +0000 |
commit | 9330356642b3892a0b4134506c2c2b8d93cdec60 (patch) | |
tree | bdd5270a414cb98bca8d924f942a9a7b93ed4cf9 /test/Driver/debug-options.c | |
parent | 6df4eb9cf31536716f1eb9310a7e7cc7a01779ed (diff) | |
download | clang-9330356642b3892a0b4134506c2c2b8d93cdec60.tar.gz |
Add a command line option -gdwarf-aranges that will turn on emitting
the dwarf .debug_aranges section.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/debug-options.c')
-rw-r--r-- | test/Driver/debug-options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c index 8582896ca2..d18c26878a 100644 --- a/test/Driver/debug-options.c +++ b/test/Driver/debug-options.c @@ -50,6 +50,8 @@ // // RUN: %clang -### -c -ggnu-pubnames %s 2>&1 | FileCheck -check-prefix=GOPT %s // +// RUN: %clang -### -c -gdwarf-aranges %s 2>&1 | FileCheck -check-prefix=GARANGE %s +// // RUN: %clang -### -fdebug-types-section %s 2>&1 \ // RUN: | FileCheck -check-prefix=FDTS %s // @@ -62,7 +64,7 @@ // // G_DARWIN: "-cc1" // G_DARWIN: "-gdwarf-2" -// +// // G_D2: "-cc1" // G_D2: "-gdwarf-2" // @@ -86,6 +88,8 @@ // // GOPT: -generate-gnu-dwarf-pub-sections // +// GARANGE: -generate-arange-section +// // FDTS: "-backend-option" "-generate-type-units" // // NOFDTS-NOT: "-backend-option" "-generate-type-units" |