LLVM: lib/ObjectYAML/DWARFEmitter.cpp File Reference (original) (raw)
The DWARF component of yaml2obj. More...
Go to the source code of this file.
The DWARF component of yaml2obj.
Provided as library code for tests.
Definition in file DWARFEmitter.cpp.
◆ checkOperandCount()
◆ emitDebugSectionImpl()
◆ emitFileEntry()
◆ emitPubSection()
Definition at line 223 of file DWARFEmitter.cpp.
References llvm::DWARFYAML::PubSection::Entries, llvm::DWARFYAML::PubSection::Format, llvm::DWARFYAML::PubSection::Length, llvm::Error::success(), llvm::DWARFYAML::PubSection::UnitOffset, llvm::DWARFYAML::PubSection::UnitSize, llvm::DWARFYAML::PubSection::Version, llvm::raw_ostream::write(), writeInitialLength(), and writeInteger().
Referenced by llvm::DWARFYAML::emitDebugGNUPubnames(), llvm::DWARFYAML::emitDebugGNUPubtypes(), llvm::DWARFYAML::emitDebugPubnames(), and llvm::DWARFYAML::emitDebugPubtypes().
◆ getStandardOpcodeLengths()
◆ writeDIE()
Definition at line 261 of file DWARFEmitter.cpp.
References llvm::dwarf::FormParams::AddrSize, llvm::DWARFYAML::Abbrev::Attributes, llvm::ArrayRef< T >::begin(), llvm::cantFail(), llvm::createStringError(), llvm::DWARFYAML::Data::DebugAbbrev, llvm::encodeSLEB128(), llvm::encodeULEB128(), llvm::DWARFYAML::Data::getAbbrevTableInfoByID(), llvm::dwarf::FormParams::getDwarfOffsetByteSize(), llvm::dwarf::FormParams::getRefAddrByteSize(), llvm::invalid_argument, llvm::ArrayRef< T >::size(), llvm::Expected< T >::takeError(), llvm::raw_ostream::tell(), llvm::toString(), llvm::utostr(), llvm::raw_ostream::write(), writeInteger(), and writeVariableSizedInteger().
Referenced by llvm::DWARFYAML::emitDebugInfo().
◆ writeDWARFExpression()
◆ writeDWARFLists()
template
Definition at line 1125 of file DWARFEmitter.cpp.
References llvm::dwarf::DWARF64, llvm::Length, llvm::Offset, llvm::Error::success(), llvm::Expected< T >::takeError(), llvm::raw_ostream::tell(), UINT64_MAX, llvm::raw_ostream::write(), writeDWARFOffset(), writeInitialLength(), writeInteger(), and writeListEntry().
Referenced by llvm::DWARFYAML::emitDebugLoclists(), and llvm::DWARFYAML::emitDebugRnglists().
◆ writeDWARFOffset()
◆ writeExtendedOpcode()
◆ writeInitialLength()
Definition at line 70 of file DWARFEmitter.cpp.
References llvm::cantFail(), llvm::dwarf::DW_LENGTH_DWARF64, llvm::dwarf::DWARF64, llvm::Length, and writeVariableSizedInteger().
Referenced by llvm::DWARFYAML::emitDebugAddr(), llvm::DWARFYAML::emitDebugAranges(), llvm::DWARFYAML::emitDebugInfo(), llvm::DWARFYAML::emitDebugLine(), llvm::DWARFYAML::emitDebugStrOffsets(), emitPubSection(), and writeDWARFLists().
◆ writeInteger()
Definition at line 42 of file DWARFEmitter.cpp.
References llvm::Integer, llvm::sys::IsLittleEndianHost, llvm::sys::swapByteOrder(), T, and llvm::raw_ostream::write().
Referenced by llvm::DWARFYAML::emitDebugAddr(), llvm::DWARFYAML::emitDebugAranges(), llvm::DWARFYAML::emitDebugInfo(), llvm::DWARFYAML::emitDebugLine(), llvm::DWARFYAML::emitDebugStrOffsets(), emitPubSection(), writeDIE(), writeDWARFExpression(), writeDWARFLists(), writeExtendedOpcode(), writeLineTableOpcode(), writeListEntry(), writeListEntry(), and writeVariableSizedInteger().
◆ writeLineTableOpcode()
◆ writeListEntry() [1/2]
◆ writeListEntry() [2/2]
◆ writeListEntryAddress()
◆ writeVariableSizedInteger()
Definition at line 48 of file DWARFEmitter.cpp.
References llvm::createStringError(), llvm::Integer, llvm::not_supported, Size, llvm::Error::success(), and writeInteger().
Referenced by llvm::DWARFYAML::emitDebugAddr(), llvm::DWARFYAML::emitDebugAranges(), llvm::DWARFYAML::emitDebugRanges(), writeDIE(), writeDWARFOffset(), writeExtendedOpcode(), writeInitialLength(), and writeListEntryAddress().