LLVM API Documentation
#include <DWARFContext.h>
DWARFContextInMemory is the simplest possible implementation of a DWARFContext. It assumes all content is available in memory and stores pointers to it.
Definition at line 213 of file DWARFContext.h.
Definition at line 600 of file DWARFContext.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::StringSwitch< T, R >::Case(), consumeCompressedDebugSectionHeader(), llvm::DWARFContext::Section::Data, llvm::dbgs(), DEBUG, llvm::StringSwitch< T, R >::Default(), llvm::errs(), llvm::StringRef::find_first_not_of(), llvm::format(), llvm::object::SymbolRef::getAddress(), llvm::object::ObjectFile::getFileFormatName(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::insert(), llvm::zlib::isAvailable(), llvm::object::Binary::isELF(), Name, llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back(), llvm::DWARFContext::Section::Relocs, llvm::SmallVectorImpl< T >::resize(), llvm::ARMBuildAttrs::Section, llvm::object::ObjectFile::section_end(), llvm::object::ObjectFile::sections(), llvm::COFF::SectionSize, llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::StringRef::startswith(), llvm::zlib::StatusOK, llvm::StringRef::substr(), Type, and llvm::zlib::uncompress().
StringRef llvm::DWARFContextInMemory::getAbbrevDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 269 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getAbbrevSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 250 of file DWARFContext.h.
uint8_t llvm::DWARFContextInMemory::getAddressSize | ( | ) | const [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 247 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getAddrSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 275 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getARangeSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 253 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getDebugFrameSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 254 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getGnuPubNamesSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 261 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getGnuPubTypesSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 262 of file DWARFContext.h.
const Section& llvm::DWARFContextInMemory::getInfoDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 265 of file DWARFContext.h.
const Section& llvm::DWARFContextInMemory::getInfoSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 248 of file DWARFContext.h.
const Section& llvm::DWARFContextInMemory::getLineDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 256 of file DWARFContext.h.
const Section& llvm::DWARFContextInMemory::getLineSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 255 of file DWARFContext.h.
const Section& llvm::DWARFContextInMemory::getLocDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 252 of file DWARFContext.h.
const Section& llvm::DWARFContextInMemory::getLocSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 251 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getPubNamesSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 259 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getPubTypesSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 260 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getRangeDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 274 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getRangeSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 258 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getStringDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 270 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getStringOffsetDWOSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 271 of file DWARFContext.h.
StringRef llvm::DWARFContextInMemory::getStringSection | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 257 of file DWARFContext.h.
const TypeSectionMap& llvm::DWARFContextInMemory::getTypesDWOSections | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 266 of file DWARFContext.h.
const TypeSectionMap& llvm::DWARFContextInMemory::getTypesSections | ( | ) | [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 249 of file DWARFContext.h.
bool llvm::DWARFContextInMemory::isLittleEndian | ( | ) | const [inline, override, virtual] |
Implements llvm::DWARFContext.
Definition at line 246 of file DWARFContext.h.