LLVM: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static bool AddLinkageNamesToDeclCallOriginsForTuning (const DwarfDebug *DD)
static dwarf::Tag GetCompileUnitType (UnitKind Kind, DwarfDebug *DW)
static SmallVector< const DIVariable *, 2 > dependencies (DbgVariable *Var)
Return all DIVariables that appear in count: expressions.
static SmallVector< DbgVariable *, 8 > sortLocalVars (SmallVectorImpl< DbgVariable * > &Input)
Sort local variables so that variables appearing inside of helper expressions come first.
Variables
cl::opt< cl::boolOrDefault > AddLinkageNamesToDeclCallOrigins ("add-linkage-names-to-declaration-call-origins", cl::Hidden, cl::desc("Add DW_AT_linkage_name to function declaration DIEs " "referenced by DW_AT_call_origin attributes. Enabled by default " "for -gsce debugger tuning."))
Query value using AddLinkageNamesToDeclCallOriginsForTuning.
static cl::opt< bool > EmitFuncLineTableOffsetsOption ("emit-func-debug-line-table-offsets", cl::Hidden, cl::desc("Include line table offset in function's debug info and emit end " "sequence after each function's line data."), cl::init(false))

AddLinkageNamesToDeclCallOriginsForTuning()

dependencies()

GetCompileUnitType()

sortLocalVars()

Sort local variables so that variables appearing inside of helper expressions come first.

Definition at line 1055 of file DwarfCompileUnit.cpp.

References assert(), llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count(), dependencies(), llvm::SmallVectorBase< Size_T >::empty(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::lookup(), llvm::SmallVectorTemplateBase< T, bool >::pop_back(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::reverse().

Referenced by llvm::DwarfCompileUnit::createAndAddScopeChildren().

AddLinkageNamesToDeclCallOrigins

cl::opt< cl::boolOrDefault > AddLinkageNamesToDeclCallOrigins("add-linkage-names-to-declaration-call-origins", cl::Hidden, cl::desc("Add DW_AT_linkage_name to function declaration DIEs " "referenced by DW_AT_call_origin attributes. Enabled by default " "for -gsce debugger tuning.")) ( "add-linkage-names-to-declaration-call-origins" ,
cl::Hidden ,
cl::desc("Add DW_AT_linkage_name to function declaration DIEs " "referenced by DW_AT_call_origin attributes. Enabled by default " "for -gsce debugger tuning.")
)

EmitFuncLineTableOffsetsOption