aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/DebugInfoOptions.h
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
commit3413bef1dace2fcc1aad4dc65480cc8ab5a3749c (patch)
tree57c9be4c12db612c003b74635699577e7e85d9aa /include/clang/Basic/DebugInfoOptions.h
parent07435010770ba7456890b77270932b494c926dbc (diff)
[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 'include/clang/Basic/DebugInfoOptions.h')
-rw-r--r--include/clang/Basic/DebugInfoOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/DebugInfoOptions.h b/include/clang/Basic/DebugInfoOptions.h
index 037c813c61..38f139bb62 100644
--- a/include/clang/Basic/DebugInfoOptions.h
+++ b/include/clang/Basic/DebugInfoOptions.h
@@ -21,6 +21,7 @@ enum DebugInfoKind {
/// locations for instructions without actually
/// emitting debug info for them (e.g., when -Rpass
/// is used).
+ DebugDirectivesOnly, /// Emit only debug directives with the line numbers data
DebugLineTablesOnly, /// Emit only debug info necessary for generating
/// line number tables (-gline-tables-only).
LimitedDebugInfo, /// Limit generated debug info to reduce size