Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/MC/MCObjectStreamer.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
/// Get a data fragment to write into, creating a new one if the current | /// Get a data fragment to write into, creating a new one if the current | ||||
/// fragment is not a data fragment. | /// fragment is not a data fragment. | ||||
/// Optionally a \p STI can be passed in so that a new fragment is created | /// Optionally a \p STI can be passed in so that a new fragment is created | ||||
/// if the Subtarget differs from the current fragment. | /// if the Subtarget differs from the current fragment. | ||||
MCDataFragment *getOrCreateDataFragment(const MCSubtargetInfo* STI = nullptr); | MCDataFragment *getOrCreateDataFragment(const MCSubtargetInfo* STI = nullptr); | ||||
/// Get a boundary-align fragment to write into, creating a new one if the | |||||
/// current fragment is not a boundary-align fragment or has been used to emit | |||||
/// something. | |||||
MCBoundaryAlignFragment *getOrCreateBoundaryAlignFragment(); | |||||
protected: | protected: | ||||
bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection); | bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection); | ||||
/// Assign a label to the current Section and Subsection even though a | /// Assign a label to the current Section and Subsection even though a | ||||
/// fragment is not yet present. Use flushPendingLabels(F) to associate | /// fragment is not yet present. Use flushPendingLabels(F) to associate | ||||
/// a fragment with this label. | /// a fragment with this label. | ||||
void addPendingLabel(MCSymbol* label); | void addPendingLabel(MCSymbol* label); | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |