13#ifndef LLVM_MC_MCSECTIONELF_H
14#define LLVM_MC_MCSECTIONELF_H
58 unsigned entrySize,
const MCSymbolELF *group,
bool IsComdat,
63 Type(type), Flags(flags), UniqueID(UniqueID), EntrySize(entrySize),
64 Group(group, IsComdat), LinkedToSym(LinkedToSym) {
66 "Group section without signature!");
67 if (Group.getPointer())
68 Group.getPointer()->setIsSignature();
77 bool isComdat()
const {
return Group.getInt(); }
83 return &LinkedToSym->getSection();
92 return std::make_pair(StartOffset, EndOffset);
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
This file defines the PointerIntPair class.
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
static constexpr unsigned NonUniqueID
MCSection(StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
PointerIntPair - This class implements a pair of a pointer and small integer.
Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.