]> granicus.if.org Git - clang/commit
[DEBUGINFO] Add support for emission of the debug directives only.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 31 Aug 2018 13:56:14 +0000 (13:56 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 31 Aug 2018 13:56:14 +0000 (13:56 +0000)
commit3413bef1dace2fcc1aad4dc65480cc8ab5a3749c
tree57c9be4c12db612c003b74635699577e7e85d9aa
parent07435010770ba7456890b77270932b494c926dbc
[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
24 files changed:
include/clang/Basic/DebugInfoOptions.h
include/clang/Driver/Options.td
lib/CodeGen/CGDebugInfo.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/debug-info-gline-tables-only.c
test/CodeGen/debug-info-gline-tables-only2.c
test/CodeGen/debug-info-line.c
test/CodeGen/debug-info-macro.c
test/CodeGen/debug-info-scope.c
test/CodeGen/lifetime-debuginfo-1.c
test/CodeGen/lifetime-debuginfo-2.c
test/CodeGenCXX/crash.cpp
test/CodeGenCXX/debug-info-blocks.cpp
test/CodeGenCXX/debug-info-gline-tables-only.cpp
test/CodeGenCXX/debug-info-line.cpp
test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp
test/CodeGenCXX/debug-info-namespace.cpp
test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
test/CodeGenCXX/debug-info-windows-dtor.cpp
test/CodeGenCXX/linetable-virtual-variadic.cpp
test/CodeGenObjCXX/debug-info-line.mm
test/CodeGenObjCXX/pr14474-gline-tables-only.mm
test/Driver/debug-options.c