10 #ifndef LLVM_MC_MCASMLAYOUT_H
11 #define LLVM_MC_MCASMLAYOUT_H
55 uint64_t FOffset, uint64_t FSize);
llvm::SmallVectorImpl< MCSectionData * >::iterator iterator
MCAsmLayout(MCAssembler &_Assembler)
const llvm::SmallVectorImpl< MCSectionData * > & getSectionOrder() const
void layoutFragment(MCFragment *Fragment)
Perform layout for a single fragment, assuming that the previous fragment has already been laid out c...
llvm::SmallVectorImpl< MCSectionData * >::const_iterator const_iterator
void invalidateFragmentsFrom(MCFragment *F)
Invalidate the fragments starting with F because it has been resized. The fragment's size should have...
llvm::SmallVectorImpl< MCSectionData * > & getSectionOrder()
uint64_t getSectionFileSize(const MCSectionData *SD) const
Get the data size of the given section, as emitted to the object file. This may include additional pa...
uint64_t getSymbolOffset(const MCSymbolData *SD) const
Get the offset of the given symbol, as computed in the current layout.
uint64_t getSectionAddressSize(const MCSectionData *SD) const
Get the address space size of the given section, as it effects layout. This may differ from the size ...
uint64_t getFragmentOffset(const MCFragment *F) const
Get the offset of the given fragment inside its containing section.
MCAssembler & getAssembler() const
Get the assembler object this is a layout for.