13#ifndef LLVM_MC_MCSECTIONELF_H
14#define LLVM_MC_MCSECTIONELF_H
59 unsigned entrySize,
const MCSymbolELF *group,
bool IsComdat,
62 :
MCSection(
Name, flags & ELF::SHF_EXECINSTR, type == ELF::SHT_NOBITS,
64 Type(type), Flags(flags), UniqueID(UniqueID), EntrySize(entrySize),
65 Group(group, IsComdat), LinkedToSym(LinkedToSym) {
67 "Group section without signature!");
93 return std::make_pair(StartOffset, EndOffset);
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
This file defines the PointerIntPair class.
Context object for machine code objects.
This represents a section on linux, lots of unix variants and some bare metal systems.
const MCSection * getLinkedToSection() const
unsigned getFlags() const
unsigned getUniqueID() const
void setOffsets(uint64_t Start, uint64_t End)
void setFlags(unsigned F)
const MCSymbol * getLinkedToSymbol() const
std::pair< uint64_t, uint64_t > getOffsets() const
const MCSymbolELF * getGroup() const
unsigned getEntrySize() const
Instances of this class represent a uniqued identifier for a section in the current translation unit.
static constexpr unsigned NonUniqueID
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
MCSection & getSection() const
Get the section associated with a defined, non-absolute symbol.
PointerIntPair - This class implements a pair of a pointer and small integer.
PointerTy getPointer() const
StringRef - Represent a constant reference to a string, i.e.
The instances of the Type class are immutable: once they are created, they are never changed.
This is an optimization pass for GlobalISel generic memory operations.