summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-scope.c
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-08-31 13:56:14 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-08-31 13:56:14 +0000
commit80e1b5eb3486758ba67cf311e3afad7c1a56deda (patch)
tree5b3b926ae629eaca499ae915ee5e33ff5601803e /clang/test/CodeGen/debug-info-scope.c
parent2e5700f0388b4857e331d0ec5f887cddcc616d85 (diff)
downloadbcm5719-llvm-80e1b5eb3486758ba67cf311e3afad7c1a56deda.tar.gz
bcm5719-llvm-80e1b5eb3486758ba67cf311e3afad7c1a56deda.zip
[DEBUGINFO] Add support for emission of the debug directives only.
Summary: Added option -gline-directives-only to support emission of the debug directives only. It behaves very similar to -gline-tables-only, except that it sets llvm debug info emission kind to llvm::DICompileUnit::DebugDirectivesOnly. Reviewers: echristo Subscribers: aprantl, fedor.sergeev, JDevlieghere, cfe-commits Differential Revision: https://reviews.llvm.org/D51177 llvm-svn: 341212
Diffstat (limited to 'clang/test/CodeGen/debug-info-scope.c')
-rw-r--r--clang/test/CodeGen/debug-info-scope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-scope.c b/clang/test/CodeGen/debug-info-scope.c
index a25f1177a91..0c12c4d6046 100644
--- a/clang/test/CodeGen/debug-info-scope.c
+++ b/clang/test/CodeGen/debug-info-scope.c
@@ -1,5 +1,6 @@
// RUN: %clang_cc1 -dwarf-version=4 -debug-info-kind=limited -disable-llvm-passes -emit-llvm < %s | FileCheck %s
// RUN: %clang_cc1 -dwarf-version=4 -debug-info-kind=line-tables-only -disable-llvm-passes -emit-llvm < %s | FileCheck --check-prefix=GMLT %s
+// RUN: %clang_cc1 -dwarf-version=4 -debug-info-kind=line-directives-only -disable-llvm-passes -emit-llvm < %s | FileCheck --check-prefix=GMLT %s
// Two variables with same name in separate scope.
// Radar 8330217.
int main() {
OpenPOWER on IntegriCloud