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 unsigned | translateToNVVMDWARFAddrSpace (unsigned AddrSpace) |
| Translate NVVM IR address space code to DWARF correspondent value. | |
| 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 | |
|---|---|
| static 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 1071 of file DwarfCompileUnit.cpp.
References assert(), llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count(), dependencies(), llvm::dyn_cast(), llvm::SmallVectorTemplateCommon< T, typename >::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().
◆ translateToNVVMDWARFAddrSpace()
Translate NVVM IR address space code to DWARF correspondent value.
Definition at line 80 of file DwarfCompileUnit.cpp.
References llvm::NVPTXAS::ADDRESS_SPACE_CONST, llvm::NVPTXAS::ADDRESS_SPACE_GENERIC, llvm::NVPTXAS::ADDRESS_SPACE_GLOBAL, llvm::NVPTXAS::ADDRESS_SPACE_LOCAL, llvm::NVPTXAS::ADDRESS_SPACE_SHARED, llvm::NVPTXAS::DWARF_ADDR_const_space, llvm::NVPTXAS::DWARF_ADDR_generic_space, llvm::NVPTXAS::DWARF_ADDR_global_space, llvm::NVPTXAS::DWARF_ADDR_local_space, llvm::NVPTXAS::DWARF_ADDR_shared_space, and llvm_unreachable.
Referenced by llvm::DwarfCompileUnit::addLocationAttribute().
◆ 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.") ) | static |
|---|
◆ EmitFuncLineTableOffsetsOption
| 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)) ( "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) ) | static |
|---|