diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-08-31 13:56:14 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-08-31 13:56:14 +0000 |
commit | 3413bef1dace2fcc1aad4dc65480cc8ab5a3749c (patch) | |
tree | 57c9be4c12db612c003b74635699577e7e85d9aa /test/CodeGen/lifetime-debuginfo-1.c | |
parent | 07435010770ba7456890b77270932b494c926dbc (diff) | |
download | clang-3413bef1dace2fcc1aad4dc65480cc8ab5a3749c.tar.gz |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/lifetime-debuginfo-1.c')
-rw-r--r-- | test/CodeGen/lifetime-debuginfo-1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/lifetime-debuginfo-1.c b/test/CodeGen/lifetime-debuginfo-1.c index e2e45cb7f8..10fd2c2164 100644 --- a/test/CodeGen/lifetime-debuginfo-1.c +++ b/test/CodeGen/lifetime-debuginfo-1.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -O1 -triple x86_64-none-linux-gnu -emit-llvm -debug-info-kind=line-tables-only %s -o - | FileCheck %s +// RUN: %clang_cc1 -O1 -triple x86_64-none-linux-gnu -emit-llvm -debug-info-kind=line-directives-only %s -o - | FileCheck %s // Inserting lifetime markers should not affect debuginfo |