LLVM API Documentation
#include <MCAssembler.h>
Definition at line 824 of file MCAssembler.h.
typedef std::vector<DataRegionData>::const_iterator llvm::MCAssembler::const_data_region_iterator |
Definition at line 848 of file MCAssembler.h.
typedef FileNameVectorType::const_iterator llvm::MCAssembler::const_file_name_iterator |
Definition at line 841 of file MCAssembler.h.
typedef std::vector<IndirectSymbolData>::const_iterator llvm::MCAssembler::const_indirect_symbol_iterator |
Definition at line 844 of file MCAssembler.h.
Definition at line 831 of file MCAssembler.h.
Definition at line 834 of file MCAssembler.h.
Definition at line 838 of file MCAssembler.h.
typedef std::vector<DataRegionData>::iterator llvm::MCAssembler::data_region_iterator |
Definition at line 849 of file MCAssembler.h.
typedef std::vector<std::string> llvm::MCAssembler::FileNameVectorType |
Definition at line 840 of file MCAssembler.h.
typedef std::vector<IndirectSymbolData>::iterator llvm::MCAssembler::indirect_symbol_iterator |
Definition at line 845 of file MCAssembler.h.
Definition at line 832 of file MCAssembler.h.
Definition at line 828 of file MCAssembler.h.
Definition at line 835 of file MCAssembler.h.
Definition at line 837 of file MCAssembler.h.
Definition at line 829 of file MCAssembler.h.
MCAssembler::MCAssembler | ( | MCContext & | Context_, |
MCAsmBackend & | Backend_, | ||
MCCodeEmitter & | Emitter_, | ||
MCObjectWriter & | Writer_, | ||
raw_ostream & | OS | ||
) |
Construct a new assembler instance.
OS | The stream to output to. |
Definition at line 348 of file MCAssembler.cpp.
References llvm::MCAssembler::VersionMinInfoType::Major.
Definition at line 357 of file MCAssembler.cpp.
void llvm::MCAssembler::addFileName | ( | StringRef | FileName | ) | [inline] |
Definition at line 1226 of file MCAssembler.h.
Referenced by llvm::MCWinCOFFStreamer::EmitFileDirective(), and llvm::MCELFStreamer::EmitFileDirective().
iterator llvm::MCAssembler::begin | ( | ) | [inline] |
Definition at line 1082 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::begin().
Referenced by llvm::MachObjectWriter::ComputeSymbolTable(), dump(), Finish(), llvm::MCAsmLayout::MCAsmLayout(), and llvm::MachObjectWriter::WriteObject().
const_iterator llvm::MCAssembler::begin | ( | ) | const [inline] |
Definition at line 1083 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::begin().
uint64_t MCAssembler::computeFragmentSize | ( | const MCAsmLayout & | Layout, |
const MCFragment & | F | ||
) | const |
Compute the effective fragment size assuming it is laid out at the given SectionAddress
and FragmentOffset
.
Definition at line 528 of file MCAssembler.cpp.
References F(), llvm::MCFragment::FT_Align, llvm::MCFragment::FT_CompactEncodedInst, llvm::MCFragment::FT_Data, llvm::MCFragment::FT_Dwarf, llvm::MCFragment::FT_DwarfFrame, llvm::MCFragment::FT_Fill, llvm::MCFragment::FT_LEB, llvm::MCFragment::FT_Org, llvm::MCFragment::FT_Relaxable, llvm::MCAlignFragment::getAlignment(), getBackend(), llvm::MCAsmLayout::getFragmentOffset(), llvm::MCFragment::getKind(), llvm::MCAlignFragment::getMaxBytesToEmit(), llvm::MCAsmBackend::getMinimumNopSize(), llvm::MCOrgFragment::getOffset(), llvm::MCAlignFragment::hasEmitNops(), llvm_unreachable, llvm::OffsetToAlignment(), and llvm::report_fatal_error().
Referenced by llvm::MCAsmLayout::getSectionAddressSize(), llvm::MCAsmLayout::layoutFragment(), and writeFragment().
data_region_iterator llvm::MCAssembler::data_region_begin | ( | ) | [inline] |
Definition at line 1146 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::WriteObject().
const_data_region_iterator llvm::MCAssembler::data_region_begin | ( | ) | const [inline] |
Definition at line 1149 of file MCAssembler.h.
data_region_iterator llvm::MCAssembler::data_region_end | ( | ) | [inline] |
Definition at line 1153 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::WriteObject().
const_data_region_iterator llvm::MCAssembler::data_region_end | ( | ) | const [inline] |
Definition at line 1156 of file MCAssembler.h.
size_t llvm::MCAssembler::data_region_size | ( | ) | const [inline] |
Definition at line 1160 of file MCAssembler.h.
void MCAssembler::dump | ( | ) |
Definition at line 1259 of file MCAssembler.cpp.
References begin(), end(), llvm::errs(), symbol_begin(), and symbol_end().
Referenced by Finish().
iterator llvm::MCAssembler::end | ( | ) | [inline] |
Definition at line 1085 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::end().
Referenced by llvm::MachObjectWriter::ComputeSymbolTable(), dump(), Finish(), llvm::MCAsmLayout::MCAsmLayout(), and llvm::MachObjectWriter::WriteObject().
const_iterator llvm::MCAssembler::end | ( | ) | const [inline] |
Definition at line 1086 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::end().
const_file_name_iterator llvm::MCAssembler::file_names_begin | ( | ) | const [inline] |
Definition at line 1218 of file MCAssembler.h.
References llvm::ARMBuildAttrs::Symbol.
const_file_name_iterator llvm::MCAssembler::file_names_end | ( | ) | const [inline] |
Definition at line 1222 of file MCAssembler.h.
void MCAssembler::Finish | ( | ) |
Finish - Do final processing and write the object to the output stream. Writer
is used for custom object writer (as the MCJIT does), if not specified it is automatically created from backend.
Definition at line 863 of file MCAssembler.cpp.
References llvm::MCAsmBackend::applyFixup(), llvm::MCSectionData::begin(), begin(), llvm::SmallVectorTemplateCommon< T, typename >::data(), DEBUG_WITH_TYPE, dump(), llvm::dyn_cast(), llvm::MCSectionData::end(), end(), llvm::errs(), llvm::MCObjectWriter::ExecutePostLayoutBinding(), llvm::MCEncodedFragmentWithFixups::fixup_begin(), llvm::MCEncodedFragmentWithFixups::fixup_end(), getBackend(), llvm::MCEncodedFragment::getContents(), getWriter(), llvm::MCSectionData::setLayoutOrder(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::raw_ostream::tell(), and llvm::MCObjectWriter::WriteObject().
Referenced by llvm::MCObjectStreamer::FinishImpl().
const MCSymbolData * MCAssembler::getAtom | ( | const MCSymbolData * | Symbol | ) | const |
Find the symbol which defines the atom containing the given symbol, or null if there is no such symbol.
Definition at line 423 of file MCAssembler.cpp.
References llvm::MCFragment::getAtom(), getBackend(), llvm::MCSymbolData::getFragment(), llvm::MCFragment::getParent(), llvm::MCSectionData::getSection(), llvm::MCSymbolData::getSymbol(), llvm::MCAsmBackend::isSectionAtomizable(), and isSymbolLinkerVisible().
MCAsmBackend& llvm::MCAssembler::getBackend | ( | ) | const [inline] |
Definition at line 1037 of file MCAssembler.h.
Referenced by computeFragmentSize(), llvm::MCELFStreamer::EmitAssemblerFlag(), llvm::MCObjectStreamer::EmitInstruction(), Finish(), getAtom(), llvm::MachObjectWriter::isFixupKindPCRel(), isSymbolLinkerVisible(), reset(), writeFragment(), and llvm::MCObjectStreamer::~MCObjectStreamer().
unsigned llvm::MCAssembler::getBundleAlignSize | ( | ) | const [inline] |
Definition at line 1066 of file MCAssembler.h.
Referenced by llvm::MCELFStreamer::EmitBundleAlignMode(), llvm::MCAsmLayout::layoutFragment(), and writeFragment().
MCContext& llvm::MCAssembler::getContext | ( | ) | const [inline] |
Definition at line 1035 of file MCAssembler.h.
Referenced by CompressDebugSection(), llvm::MCELFStreamer::EmitCommonSymbol(), llvm::MipsTargetELFStreamer::emitDirectiveCpload(), llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), llvm::MipsTargetELFStreamer::emitDirectiveEnd(), llvm::MipsTargetELFStreamer::emitFrame(), llvm::MCELFStreamer::EmitIdent(), llvm::MipsTargetELFStreamer::emitMipsAbiFlags(), llvm::PPCMCExpr::EvaluateAsRelocatableImpl(), llvm::MipsTargetELFStreamer::finish(), llvm::MCAsmLayout::getBaseSymbol(), llvm::MipsTargetELFStreamer::MipsTargetELFStreamer(), and llvm::MipsAsmBackend::processFixupValue().
std::vector<DataRegionData>& llvm::MCAssembler::getDataRegions | ( | ) | [inline] |
Definition at line 1142 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::WriteObject().
unsigned llvm::MCAssembler::getELFHeaderEFlags | ( | ) | const [inline] |
ELF e_header flags.
Definition at line 1004 of file MCAssembler.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveAbiCalls(), llvm::MipsTargetELFStreamer::emitDirectiveNaN2008(), llvm::MipsTargetELFStreamer::emitDirectiveNaNLegacy(), llvm::MipsTargetELFStreamer::emitDirectiveOptionPic0(), llvm::MipsTargetELFStreamer::emitDirectiveOptionPic2(), llvm::MipsTargetELFStreamer::emitDirectiveSetMicroMips(), llvm::MipsTargetELFStreamer::emitDirectiveSetMips16(), and llvm::MipsTargetELFStreamer::emitDirectiveSetNoReorder().
MCCodeEmitter& llvm::MCAssembler::getEmitter | ( | ) | const [inline] |
Definition at line 1039 of file MCAssembler.h.
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction(), llvm::MCWinCOFFStreamer::EmitInstToData(), llvm::MCObjectStreamer::EmitInstToFragment(), reset(), and llvm::MCObjectStreamer::~MCObjectStreamer().
std::vector<IndirectSymbolData>& llvm::MCAssembler::getIndirectSymbols | ( | ) | [inline] |
Definition at line 1111 of file MCAssembler.h.
Referenced by llvm::MCELFStreamer::EmitSymbolAttribute().
std::vector<std::vector<std::string> >& llvm::MCAssembler::getLinkerOptions | ( | ) | [inline] |
Definition at line 1133 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::WriteObject().
MCLOHContainer& llvm::MCAssembler::getLOHContainer | ( | ) | [inline] |
Definition at line 1167 of file MCAssembler.h.
Referenced by reset(), and llvm::MachObjectWriter::WriteObject().
const MCLOHContainer& llvm::MCAssembler::getLOHContainer | ( | ) | const [inline] |
Definition at line 1170 of file MCAssembler.h.
bool llvm::MCAssembler::getNoExecStack | ( | ) | const [inline] |
Definition at line 1059 of file MCAssembler.h.
MCSectionData& llvm::MCAssembler::getOrCreateSectionData | ( | const MCSection & | Section, |
bool * | Created = nullptr |
||
) | [inline] |
Definition at line 1181 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::ChangeSection(), llvm::MipsTargetELFStreamer::emitDirectiveEnd(), llvm::MCWinCOFFStreamer::EmitLocalCommonSymbol(), llvm::MipsTargetELFStreamer::emitMipsAbiFlags(), llvm::MipsRegInfoRecord::EmitMipsOptionRecord(), llvm::MipsTargetELFStreamer::finish(), and llvm::MCELFStreamer::Flush().
MCSymbolData& llvm::MCAssembler::getOrCreateSymbolData | ( | const MCSymbol & | Symbol, |
bool * | Created = nullptr |
||
) | [inline] |
Definition at line 1207 of file MCAssembler.h.
References getSymbolData().
Referenced by llvm::MachObjectWriter::BindIndirectSymbols(), llvm::MCELFStreamer::ChangeSection(), llvm::MCObjectStreamer::EmitAssignment(), llvm::MCWinCOFFStreamer::EmitCOFFSymbolStorageClass(), llvm::MCWinCOFFStreamer::EmitCOFFSymbolType(), llvm::MCWinCOFFStreamer::EmitCommonSymbol(), llvm::MCELFStreamer::EmitCommonSymbol(), llvm::MipsTargetELFStreamer::emitDirectiveCpload(), llvm::MCELFStreamer::EmitELFSize(), llvm::MCObjectStreamer::EmitLabel(), llvm::MCWinCOFFStreamer::EmitLocalCommonSymbol(), llvm::MCELFStreamer::EmitLocalCommonSymbol(), llvm::MCWinCOFFStreamer::EmitSymbolAttribute(), llvm::MCELFStreamer::EmitSymbolAttribute(), llvm::MCELFStreamer::EmitWeakReference(), fixELFSymbolsInTLSFixupsImpl(), llvm::MCObjectStreamer::getOrCreateSymbolData(), and llvm::MCObjectStreamer::visitUsedSymbol().
bool llvm::MCAssembler::getRelaxAll | ( | ) | const [inline] |
Definition at line 1056 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::EmitInstruction().
MCSectionData& llvm::MCAssembler::getSectionData | ( | const MCSection & | Section | ) | const [inline] |
Definition at line 1175 of file MCAssembler.h.
const SectionDataListType& llvm::MCAssembler::getSectionList | ( | ) | const [inline] |
Definition at line 1079 of file MCAssembler.h.
Referenced by llvm::MCSectionData::MCSectionData().
SectionDataListType& llvm::MCAssembler::getSectionList | ( | ) | [inline] |
Definition at line 1080 of file MCAssembler.h.
bool llvm::MCAssembler::getSubsectionsViaSymbols | ( | ) | const [inline] |
Definition at line 1049 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::IsSymbolRefDifferenceFullyResolvedImpl(), and llvm::MachObjectWriter::WriteObject().
MCSymbolData& llvm::MCAssembler::getSymbolData | ( | const MCSymbol & | Symbol | ) | [inline] |
Definition at line 1196 of file MCAssembler.h.
Referenced by llvm::MCELFStreamer::EmitLabel(), getOrCreateSymbolData(), llvm::MachObjectWriter::getSymbolAddress(), getSymbolOffsetImpl(), llvm::MCObjectWriter::IsSymbolRefDifferenceFullyResolved(), llvm::MachObjectWriter::IsSymbolRefDifferenceFullyResolvedImpl(), and llvm::MachObjectWriter::WriteObject().
const MCSymbolData& llvm::MCAssembler::getSymbolData | ( | const MCSymbol & | Symbol | ) | const [inline] |
Definition at line 1201 of file MCAssembler.h.
const SymbolDataListType& llvm::MCAssembler::getSymbolList | ( | ) | const [inline] |
Definition at line 1092 of file MCAssembler.h.
Referenced by llvm::MCSymbolData::MCSymbolData().
SymbolDataListType& llvm::MCAssembler::getSymbolList | ( | ) | [inline] |
Definition at line 1093 of file MCAssembler.h.
const VersionMinInfoType& llvm::MCAssembler::getVersionMinInfo | ( | ) | const [inline] |
MachO deployment target version information.
Definition at line 1008 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::WriteObject().
MCObjectWriter& llvm::MCAssembler::getWriter | ( | ) | const [inline] |
Definition at line 1041 of file MCAssembler.h.
Referenced by Finish(), reset(), writeFragment(), writeSectionData(), and llvm::MCObjectStreamer::~MCObjectStreamer().
bool llvm::MCAssembler::hasSymbolData | ( | const MCSymbol & | Symbol | ) | const [inline] |
Definition at line 1192 of file MCAssembler.h.
References llvm::ARMBuildAttrs::Section.
Definition at line 1115 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::BindIndirectSymbols(), and llvm::MachObjectWriter::WriteObject().
const_indirect_symbol_iterator llvm::MCAssembler::indirect_symbol_begin | ( | ) | const [inline] |
Definition at line 1118 of file MCAssembler.h.
Definition at line 1122 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::BindIndirectSymbols(), and llvm::MachObjectWriter::WriteObject().
const_indirect_symbol_iterator llvm::MCAssembler::indirect_symbol_end | ( | ) | const [inline] |
Definition at line 1125 of file MCAssembler.h.
size_t llvm::MCAssembler::indirect_symbol_size | ( | ) | const [inline] |
Definition at line 1129 of file MCAssembler.h.
Referenced by llvm::MachObjectWriter::WriteObject().
bool llvm::MCAssembler::isBundlingEnabled | ( | ) | const [inline] |
Definition at line 1062 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::EmitInstruction(), llvm::MCObjectStreamer::getOrCreateDataFragment(), llvm::MCAsmLayout::layoutFragment(), and writeFragment().
bool MCAssembler::isSymbolLinkerVisible | ( | const MCSymbol & | SD | ) | const |
Check whether a particular symbol is visible to the linker and is required in the symbol table, or whether it can be discarded by the assembler. This also effects whether the assembler treats the label as potentially defining a separate atom.
Definition at line 410 of file MCAssembler.cpp.
References llvm::MCAsmBackend::doesSectionRequireSymbols(), getBackend(), llvm::MCSymbol::getSection(), llvm::MCSymbol::isInSection(), and llvm::MCSymbol::isTemporary().
Referenced by llvm::MachObjectWriter::ComputeSymbolTable(), and getAtom().
bool MCAssembler::isThumbFunc | ( | const MCSymbol * | Func | ) | const |
Check whether a given symbol has been flagged with .thumb_func.
Definition at line 385 of file MCAssembler.cpp.
References llvm::SmallPtrSetImpl< PtrType >::count(), llvm::dyn_cast(), llvm::MCSymbolRefExpr::getKind(), llvm::MCSymbolRefExpr::getSymbol(), llvm::MCSymbol::getVariableValue(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::MCSymbol::isVariable(), and llvm::MCSymbolRefExpr::VK_None.
Referenced by llvm::MachObjectWriter::WriteNlist().
void MCAssembler::reset | ( | ) |
Reuse an assembler instance
Definition at line 360 of file MCAssembler.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear(), llvm::SmallPtrSetImplBase::clear(), llvm::iplist< NodeTy, Traits >::clear(), getBackend(), getEmitter(), getLOHContainer(), getWriter(), llvm::MCAssembler::VersionMinInfoType::Major, llvm::MCCodeEmitter::reset(), llvm::MCAsmBackend::reset(), llvm::MCObjectWriter::reset(), and llvm::MCLOHContainer::reset().
Referenced by llvm::MCObjectStreamer::reset().
void llvm::MCAssembler::setBundleAlignSize | ( | unsigned | Size | ) | [inline] |
Definition at line 1070 of file MCAssembler.h.
Referenced by llvm::MCELFStreamer::EmitBundleAlignMode().
void llvm::MCAssembler::setELFHeaderEFlags | ( | unsigned | Flags | ) | [inline] |
Definition at line 1005 of file MCAssembler.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveAbiCalls(), llvm::MipsTargetELFStreamer::emitDirectiveNaN2008(), llvm::MipsTargetELFStreamer::emitDirectiveNaNLegacy(), llvm::MipsTargetELFStreamer::emitDirectiveOptionPic0(), llvm::MipsTargetELFStreamer::emitDirectiveOptionPic2(), llvm::MipsTargetELFStreamer::emitDirectiveSetMicroMips(), llvm::MipsTargetELFStreamer::emitDirectiveSetMips16(), llvm::MipsTargetELFStreamer::emitDirectiveSetNoReorder(), and llvm::MipsTargetELFStreamer::MipsTargetELFStreamer().
void llvm::MCAssembler::setIsThumbFunc | ( | const MCSymbol * | Func | ) | [inline] |
Flag a function symbol as the target of a .thumb_func directive.
Definition at line 1001 of file MCAssembler.h.
void llvm::MCAssembler::setNoExecStack | ( | bool | Value | ) | [inline] |
Definition at line 1060 of file MCAssembler.h.
Referenced by llvm::createELFStreamer().
void llvm::MCAssembler::setRelaxAll | ( | bool | Value | ) | [inline] |
Definition at line 1057 of file MCAssembler.h.
Referenced by llvm::createELFStreamer().
void llvm::MCAssembler::setSubsectionsViaSymbols | ( | bool | Value | ) | [inline] |
Definition at line 1052 of file MCAssembler.h.
Referenced by llvm::MCELFStreamer::EmitAssemblerFlag().
void llvm::MCAssembler::setVersionMinInfo | ( | MCVersionMinType | Kind, |
unsigned | Major, | ||
unsigned | Minor, | ||
unsigned | Update | ||
) | [inline] |
Definition at line 1009 of file MCAssembler.h.
References llvm::MCAssembler::VersionMinInfoType::Kind, llvm::MCAssembler::VersionMinInfoType::Major, llvm::MCAssembler::VersionMinInfoType::Minor, and llvm::MCAssembler::VersionMinInfoType::Update.
size_t llvm::MCAssembler::size | ( | ) | const [inline] |
Definition at line 1088 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::size().
Referenced by llvm::MachObjectWriter::WriteObject().
symbol_iterator llvm::MCAssembler::symbol_begin | ( | ) | [inline] |
Definition at line 1095 of file MCAssembler.h.
Referenced by dump(), symbol_size(), and symbols().
const_symbol_iterator llvm::MCAssembler::symbol_begin | ( | ) | const [inline] |
Definition at line 1096 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::begin().
symbol_iterator llvm::MCAssembler::symbol_end | ( | ) | [inline] |
Definition at line 1098 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::begin().
Referenced by dump(), symbol_size(), and symbols().
const_symbol_iterator llvm::MCAssembler::symbol_end | ( | ) | const [inline] |
Definition at line 1099 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::end().
size_t llvm::MCAssembler::symbol_size | ( | ) | const [inline] |
Definition at line 1104 of file MCAssembler.h.
References llvm::make_range(), symbol_begin(), and symbol_end().
symbol_range llvm::MCAssembler::symbols | ( | ) | [inline] |
Definition at line 1101 of file MCAssembler.h.
References llvm::iplist< NodeTy, Traits >::end().
Referenced by llvm::MachObjectWriter::ComputeSymbolTable(), and llvm::MachObjectWriter::markAbsoluteVariableSymbols().
const_symbol_range llvm::MCAssembler::symbols | ( | ) | const [inline] |
Definition at line 1102 of file MCAssembler.h.
References llvm::make_range(), symbol_begin(), and symbol_end().
void MCAssembler::writeSectionData | ( | const MCSectionData * | Section, |
const MCAsmLayout & | Layout | ||
) | const |
Emit the section contents using the given object writer.
Definition at line 788 of file MCAssembler.cpp.
References llvm::MCSectionData::begin(), llvm::MCSectionData::end(), llvm::MCDataFragment::fixup_begin(), llvm::MCDataFragment::fixup_end(), llvm::MCFragment::FT_Align, llvm::MCFragment::FT_Data, llvm::MCFragment::FT_Fill, llvm::MCDataFragment::getContents(), llvm::MCSectionData::getSection(), llvm::MCAsmLayout::getSectionAddressSize(), llvm::MCAsmLayout::getSectionFileSize(), llvm::MCObjectWriter::getStream(), getWriter(), llvm::MCSection::isVirtualSection(), llvm_unreachable, llvm::report_fatal_error(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::raw_ostream::tell(), and writeFragment().
Referenced by llvm::MachObjectWriter::WriteObject().
friend class MCAsmLayout [friend] |
Definition at line 825 of file MCAssembler.h.