[DebugInfo] Add another level to DebugInfoKind called Constructor
authorAmy Huang <akhuang@google.com>
Mon, 13 Jan 2020 23:54:54 +0000 (15:54 -0800)
committerAmy Huang <akhuang@google.com>
Mon, 13 Jan 2020 23:59:03 +0000 (15:59 -0800)
commit53539bb032d162e0147c0e9650a5d1c7ca77dae0
tree85b602a6fc5d07957698fd59f49f3036c4616f67
parentc7748404920b3674e79059cbbe73b6041a214444
[DebugInfo] Add another level to DebugInfoKind called Constructor

The option will limit debug info by only emitting complete class
type information when its constructor is emitted.
This patch changes comparisons with LimitedDebugInfo to use the new
level instead.

Differential Revision: https://reviews.llvm.org/D72427
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Basic/DebugInfoOptions.h
clang/lib/CodeGen/CGBlocks.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp