Go to the documentation of this file.
68 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
76 std::vector<StringRef> &CurTypesSection,
77 std::vector<StringRef> &CurInfoSection,
StringRef &AbbrevSection,
79 std::vector<std::pair<DWARFSectionKind, uint32_t>> &SectionLength);
97 #endif // LLVM_DWP_DWP_H
This is an optimization pass for GlobalISel generic memory operations.
Error handleSection(const StringMap< std::pair< MCSection *, DWARFSectionKind >> &KnownSections, const MCSection *StrSection, const MCSection *StrOffsetSection, const MCSection *TypesSection, const MCSection *CUIndexSection, const MCSection *TUIndexSection, const MCSection *InfoSection, const object::SectionRef &Section, MCStreamer &Out, std::deque< SmallString< 32 >> &UncompressedSections, uint32_t(&ContributionOffsets)[8], UnitIndexEntry &CurEntry, StringRef &CurStrSection, StringRef &CurStrOffsetSection, std::vector< StringRef > &CurTypesSection, std::vector< StringRef > &CurInfoSection, StringRef &AbbrevSection, StringRef &CurCUIndexSection, StringRef &CurTUIndexSection, std::vector< std::pair< DWARFSectionKind, uint32_t >> &SectionLength)
Error write(MCStreamer &Out, ArrayRef< std::string > Inputs)
This class implements a map that also provides access to all stored values in a deterministic order.
Tagged union holding either a T or a Error.
Streaming machine code generation interface.
DWARFSectionKind
The enum of section identifiers to be used in internal interfaces.
void writeIndex(MCStreamer &Out, MCSection *Section, ArrayRef< unsigned > ContributionOffsets, const MapVector< uint64_t, UnitIndexEntry > &IndexEntries, uint32_t IndexVersion)
Analysis containing CSE Info
DwarfFormat
Constants that define the DWARF format as 32 or 64 bit.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
This is a value type class that represents a single section in the list of sections in the object fil...
DWARFUnitIndex::Entry::SectionContribution Contributions[8]
unsigned getContributionIndex(DWARFSectionKind Kind, uint32_t IndexVersion)
Expected< InfoSectionUnitHeader > parseInfoSectionUnitHeader(StringRef Info)
StringRef - Represent a constant reference to a string, i.e.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Lightweight error class with error context and mandatory checking.
void writeStringsAndOffsets(MCStreamer &Out, DWPStringPool &Strings, MCSection *StrOffsetSection, StringRef CurStrSection, StringRef CurStrOffsetSection, uint16_t Version)
Error buildDuplicateError(const std::pair< uint64_t, UnitIndexEntry > &PrevE, const CompileUnitIdentifiers &ID, StringRef DWPName)