clang  12.0.0git
Enumerations
clang::codegenoptions Namespace Reference

Enumerations

enum  DebugInfoFormat { DIF_DWARF, DIF_CodeView }
 
enum  DebugInfoKind {
  NoDebugInfo, LocTrackingOnly, DebugDirectivesOnly, DebugLineTablesOnly,
  DebugInfoConstructor, LimitedDebugInfo, FullDebugInfo
}
 

Enumeration Type Documentation

◆ DebugInfoFormat

Enumerator
DIF_DWARF 
DIF_CodeView 

Definition at line 15 of file DebugInfoOptions.h.

◆ DebugInfoKind

Enumerator
NoDebugInfo 

Don't generate debug info.

LocTrackingOnly 

Emit 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).

DebugDirectivesOnly 

Emit only debug directives with the line numbers data.

DebugLineTablesOnly 

Emit only debug info necessary for generating line number tables (-gline-tables-only).

DebugInfoConstructor 

Limit 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.

LimitedDebugInfo 

Limit 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.

FullDebugInfo 

Generate complete debug info.

Definition at line 20 of file DebugInfoOptions.h.