enum DebugInfoKind

Declared at: clang/include/clang/Basic/DebugInfoOptions.h:20

Enumerators

NameValueComment
NoDebugInfo0Don't generate debug info.
LocTrackingOnly1Emit location information but do not generate debug info in the output. This is useful in cases where the backend wants to track source locations for instructions without actually emitting debug info for them (e.g., when -Rpass is used).
DebugDirectivesOnly2Emit only debug directives with the line numbers data
DebugLineTablesOnly3Emit only debug info necessary for generating line number tables (-gline-tables-only).
DebugInfoConstructor4Limit generated debug info for classes to reduce size. This emits class type info only where the constructor is emitted, if it is a class that has a constructor. FIXME: Consider combining this with LimitedDebugInfo.
LimitedDebugInfo5Limit generated debug info to reduce size (-fno-standalone-debug). This emits forward decls for types that could be replaced with forward decls in the source code. For dynamic C++ classes type info is only emitted into the module that contains the classe's vtable.
FullDebugInfo6Generate complete debug info.
UnusedTypeInfo7Generate debug info for types that may be unused in the source (-fno-eliminate-unused-debug-types).