parent
2b21695902
commit
a32d0e9ec0
|
@ -36,7 +36,7 @@ class raw_pwrite_stream;
|
||||||
class MCObjectStreamer : public MCStreamer {
|
class MCObjectStreamer : public MCStreamer {
|
||||||
MCAssembler *Assembler;
|
MCAssembler *Assembler;
|
||||||
MCSection *CurSectionData;
|
MCSection *CurSectionData;
|
||||||
MCSectionData::iterator CurInsertionPoint;
|
MCSection::iterator CurInsertionPoint;
|
||||||
bool EmitEHFrame;
|
bool EmitEHFrame;
|
||||||
bool EmitDebugFrame;
|
bool EmitDebugFrame;
|
||||||
SmallVector<MCSymbolData *, 2> PendingLabels;
|
SmallVector<MCSymbolData *, 2> PendingLabels;
|
||||||
|
|
|
@ -31,73 +31,6 @@ class MCSection;
|
||||||
class MCSymbol;
|
class MCSymbol;
|
||||||
class raw_ostream;
|
class raw_ostream;
|
||||||
|
|
||||||
class MCSectionData {
|
|
||||||
friend class MCAsmLayout;
|
|
||||||
friend class MCSection;
|
|
||||||
|
|
||||||
MCSectionData(const MCSectionData &) = delete;
|
|
||||||
void operator=(const MCSectionData &) = delete;
|
|
||||||
|
|
||||||
public:
|
|
||||||
typedef iplist<MCFragment> FragmentListType;
|
|
||||||
|
|
||||||
typedef FragmentListType::const_iterator const_iterator;
|
|
||||||
typedef FragmentListType::iterator iterator;
|
|
||||||
|
|
||||||
typedef FragmentListType::const_reverse_iterator const_reverse_iterator;
|
|
||||||
typedef FragmentListType::reverse_iterator reverse_iterator;
|
|
||||||
|
|
||||||
private:
|
|
||||||
FragmentListType Fragments;
|
|
||||||
MCSection *Section;
|
|
||||||
|
|
||||||
/// \name Assembler Backend Data
|
|
||||||
/// @{
|
|
||||||
//
|
|
||||||
// FIXME: This could all be kept private to the assembler implementation.
|
|
||||||
|
|
||||||
/// Mapping from subsection number to insertion point for subsection numbers
|
|
||||||
/// below that number.
|
|
||||||
SmallVector<std::pair<unsigned, MCFragment *>, 1> SubsectionFragmentMap;
|
|
||||||
|
|
||||||
/// @}
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit MCSectionData(MCSection &Section);
|
|
||||||
|
|
||||||
MCSection &getSection() const { return *Section; }
|
|
||||||
|
|
||||||
/// \name Fragment Access
|
|
||||||
/// @{
|
|
||||||
|
|
||||||
const FragmentListType &getFragmentList() const { return Fragments; }
|
|
||||||
FragmentListType &getFragmentList() { return Fragments; }
|
|
||||||
|
|
||||||
iterator begin();
|
|
||||||
const_iterator begin() const {
|
|
||||||
return const_cast<MCSectionData *>(this)->begin();
|
|
||||||
}
|
|
||||||
|
|
||||||
iterator end();
|
|
||||||
const_iterator end() const {
|
|
||||||
return const_cast<MCSectionData *>(this)->end();
|
|
||||||
}
|
|
||||||
|
|
||||||
reverse_iterator rbegin();
|
|
||||||
const_reverse_iterator rbegin() const {
|
|
||||||
return const_cast<MCSectionData *>(this)->rbegin();
|
|
||||||
}
|
|
||||||
|
|
||||||
reverse_iterator rend();
|
|
||||||
const_reverse_iterator rend() const {
|
|
||||||
return const_cast<MCSectionData *>(this)->rend();
|
|
||||||
}
|
|
||||||
|
|
||||||
void dump();
|
|
||||||
|
|
||||||
/// @}
|
|
||||||
};
|
|
||||||
|
|
||||||
/// Instances of this class represent a uniqued identifier for a section in the
|
/// Instances of this class represent a uniqued identifier for a section in the
|
||||||
/// current translation unit. The MCContext class uniques and creates these.
|
/// current translation unit. The MCContext class uniques and creates these.
|
||||||
class MCSection {
|
class MCSection {
|
||||||
|
@ -111,6 +44,14 @@ public:
|
||||||
BundleLockedAlignToEnd
|
BundleLockedAlignToEnd
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef iplist<MCFragment> FragmentListType;
|
||||||
|
|
||||||
|
typedef FragmentListType::const_iterator const_iterator;
|
||||||
|
typedef FragmentListType::iterator iterator;
|
||||||
|
|
||||||
|
typedef FragmentListType::const_reverse_iterator const_reverse_iterator;
|
||||||
|
typedef FragmentListType::reverse_iterator reverse_iterator;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MCSection(const MCSection &) = delete;
|
MCSection(const MCSection &) = delete;
|
||||||
void operator=(const MCSection &) = delete;
|
void operator=(const MCSection &) = delete;
|
||||||
|
@ -137,7 +78,11 @@ private:
|
||||||
/// Whether this section has had instructions emitted into it.
|
/// Whether this section has had instructions emitted into it.
|
||||||
unsigned HasInstructions : 1;
|
unsigned HasInstructions : 1;
|
||||||
|
|
||||||
MCSectionData Data;
|
FragmentListType Fragments;
|
||||||
|
|
||||||
|
/// Mapping from subsection number to insertion point for subsection numbers
|
||||||
|
/// below that number.
|
||||||
|
SmallVector<std::pair<unsigned, MCFragment *>, 1> SubsectionFragmentMap;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
|
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
|
||||||
|
@ -185,37 +130,34 @@ public:
|
||||||
bool hasInstructions() const { return HasInstructions; }
|
bool hasInstructions() const { return HasInstructions; }
|
||||||
void setHasInstructions(bool Value) { HasInstructions = Value; }
|
void setHasInstructions(bool Value) { HasInstructions = Value; }
|
||||||
|
|
||||||
MCSectionData &getSectionData() { return Data; }
|
MCSection::FragmentListType &getFragmentList() { return Fragments; }
|
||||||
const MCSectionData &getSectionData() const {
|
const MCSection::FragmentListType &getFragmentList() const {
|
||||||
return const_cast<MCSection *>(this)->getSectionData();
|
|
||||||
}
|
|
||||||
|
|
||||||
MCSectionData::FragmentListType &getFragmentList();
|
|
||||||
const MCSectionData::FragmentListType &getFragmentList() const {
|
|
||||||
return const_cast<MCSection *>(this)->getFragmentList();
|
return const_cast<MCSection *>(this)->getFragmentList();
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::iterator begin();
|
MCSection::iterator begin();
|
||||||
MCSectionData::const_iterator begin() const {
|
MCSection::const_iterator begin() const {
|
||||||
return const_cast<MCSection *>(this)->begin();
|
return const_cast<MCSection *>(this)->begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::iterator end();
|
MCSection::iterator end();
|
||||||
MCSectionData::const_iterator end() const {
|
MCSection::const_iterator end() const {
|
||||||
return const_cast<MCSection *>(this)->end();
|
return const_cast<MCSection *>(this)->end();
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::reverse_iterator rbegin();
|
MCSection::reverse_iterator rbegin();
|
||||||
MCSectionData::const_reverse_iterator rbegin() const {
|
MCSection::const_reverse_iterator rbegin() const {
|
||||||
return const_cast<MCSection *>(this)->rbegin();
|
return const_cast<MCSection *>(this)->rbegin();
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::reverse_iterator rend();
|
MCSection::reverse_iterator rend();
|
||||||
MCSectionData::const_reverse_iterator rend() const {
|
MCSection::const_reverse_iterator rend() const {
|
||||||
return const_cast<MCSection *>(this)->rend();
|
return const_cast<MCSection *>(this)->rend();
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::iterator getSubsectionInsertionPoint(unsigned Subsection);
|
MCSection::iterator getSubsectionInsertionPoint(unsigned Subsection);
|
||||||
|
|
||||||
|
void dump();
|
||||||
|
|
||||||
virtual void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS,
|
virtual void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS,
|
||||||
const MCExpr *Subsection) const = 0;
|
const MCExpr *Subsection) const = 0;
|
||||||
|
|
|
@ -1096,7 +1096,7 @@ ELFObjectWriter::createRelocationSection(MCContext &Ctx,
|
||||||
|
|
||||||
static SmallVector<char, 128>
|
static SmallVector<char, 128>
|
||||||
getUncompressedData(const MCAsmLayout &Layout,
|
getUncompressedData(const MCAsmLayout &Layout,
|
||||||
const MCSectionData::FragmentListType &Fragments) {
|
const MCSection::FragmentListType &Fragments) {
|
||||||
SmallVector<char, 128> UncompressedData;
|
SmallVector<char, 128> UncompressedData;
|
||||||
for (const MCFragment &F : Fragments) {
|
for (const MCFragment &F : Fragments) {
|
||||||
const SmallVectorImpl<char> *Contents;
|
const SmallVectorImpl<char> *Contents;
|
||||||
|
@ -1154,7 +1154,7 @@ void ELFObjectWriter::writeSectionData(const MCAssembler &Asm, MCSection &Sec,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gather the uncompressed data from all the fragments.
|
// Gather the uncompressed data from all the fragments.
|
||||||
const MCSectionData::FragmentListType &Fragments = Section.getFragmentList();
|
const MCSection::FragmentListType &Fragments = Section.getFragmentList();
|
||||||
SmallVector<char, 128> UncompressedData =
|
SmallVector<char, 128> UncompressedData =
|
||||||
getUncompressedData(Layout, Fragments);
|
getUncompressedData(Layout, Fragments);
|
||||||
|
|
||||||
|
|
|
@ -288,10 +288,6 @@ MCEncodedFragmentWithFixups::~MCEncodedFragmentWithFixups() {
|
||||||
|
|
||||||
/* *** */
|
/* *** */
|
||||||
|
|
||||||
MCSectionData::MCSectionData(MCSection &Section) : Section(&Section) {}
|
|
||||||
|
|
||||||
/* *** */
|
|
||||||
|
|
||||||
MCAssembler::MCAssembler(MCContext &Context_, MCAsmBackend &Backend_,
|
MCAssembler::MCAssembler(MCContext &Context_, MCAsmBackend &Backend_,
|
||||||
MCCodeEmitter &Emitter_, MCObjectWriter &Writer_,
|
MCCodeEmitter &Emitter_, MCObjectWriter &Writer_,
|
||||||
raw_ostream &OS_)
|
raw_ostream &OS_)
|
||||||
|
@ -744,8 +740,8 @@ void MCAssembler::writeSectionData(const MCSection *Sec,
|
||||||
assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
|
assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
|
||||||
|
|
||||||
// Check that contents are only things legal inside a virtual section.
|
// Check that contents are only things legal inside a virtual section.
|
||||||
for (MCSectionData::const_iterator it = Sec->begin(), ie = Sec->end();
|
for (MCSection::const_iterator it = Sec->begin(), ie = Sec->end(); it != ie;
|
||||||
it != ie; ++it) {
|
++it) {
|
||||||
switch (it->getKind()) {
|
switch (it->getKind()) {
|
||||||
default: llvm_unreachable("Invalid fragment in virtual section!");
|
default: llvm_unreachable("Invalid fragment in virtual section!");
|
||||||
case MCFragment::FT_Data: {
|
case MCFragment::FT_Data: {
|
||||||
|
@ -786,8 +782,8 @@ void MCAssembler::writeSectionData(const MCSection *Sec,
|
||||||
uint64_t Start = getWriter().getStream().tell();
|
uint64_t Start = getWriter().getStream().tell();
|
||||||
(void)Start;
|
(void)Start;
|
||||||
|
|
||||||
for (MCSectionData::const_iterator it = Sec->begin(), ie = Sec->end();
|
for (MCSection::const_iterator it = Sec->begin(), ie = Sec->end(); it != ie;
|
||||||
it != ie; ++it)
|
++it)
|
||||||
writeFragment(*this, Layout, *it);
|
writeFragment(*this, Layout, *it);
|
||||||
|
|
||||||
assert(getWriter().getStream().tell() - Start ==
|
assert(getWriter().getStream().tell() - Start ==
|
||||||
|
@ -837,7 +833,7 @@ void MCAssembler::Finish() {
|
||||||
Sec->setLayoutOrder(i);
|
Sec->setLayoutOrder(i);
|
||||||
|
|
||||||
unsigned FragmentIndex = 0;
|
unsigned FragmentIndex = 0;
|
||||||
for (MCSectionData::iterator iFrag = Sec->begin(), iFragEnd = Sec->end();
|
for (MCSection::iterator iFrag = Sec->begin(), iFragEnd = Sec->end();
|
||||||
iFrag != iFragEnd; ++iFrag)
|
iFrag != iFragEnd; ++iFrag)
|
||||||
iFrag->setLayoutOrder(FragmentIndex++);
|
iFrag->setLayoutOrder(FragmentIndex++);
|
||||||
}
|
}
|
||||||
|
@ -865,8 +861,8 @@ void MCAssembler::Finish() {
|
||||||
|
|
||||||
// Evaluate and apply the fixups, generating relocation entries as necessary.
|
// Evaluate and apply the fixups, generating relocation entries as necessary.
|
||||||
for (MCAssembler::iterator it = begin(), ie = end(); it != ie; ++it) {
|
for (MCAssembler::iterator it = begin(), ie = end(); it != ie; ++it) {
|
||||||
for (MCSectionData::iterator it2 = it->begin(),
|
for (MCSection::iterator it2 = it->begin(), ie2 = it->end(); it2 != ie2;
|
||||||
ie2 = it->end(); it2 != ie2; ++it2) {
|
++it2) {
|
||||||
MCEncodedFragmentWithFixups *F =
|
MCEncodedFragmentWithFixups *F =
|
||||||
dyn_cast<MCEncodedFragmentWithFixups>(it2);
|
dyn_cast<MCEncodedFragmentWithFixups>(it2);
|
||||||
if (F) {
|
if (F) {
|
||||||
|
@ -1009,7 +1005,7 @@ bool MCAssembler::layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec) {
|
||||||
MCFragment *FirstRelaxedFragment = nullptr;
|
MCFragment *FirstRelaxedFragment = nullptr;
|
||||||
|
|
||||||
// Attempt to relax all the fragments in the section.
|
// Attempt to relax all the fragments in the section.
|
||||||
for (MCSectionData::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
|
for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
|
||||||
// Check if this is a fragment that needs relaxation.
|
// Check if this is a fragment that needs relaxation.
|
||||||
bool RelaxedFrag = false;
|
bool RelaxedFrag = false;
|
||||||
switch(I->getKind()) {
|
switch(I->getKind()) {
|
||||||
|
@ -1188,18 +1184,6 @@ void MCFragment::dump() {
|
||||||
OS << ">";
|
OS << ">";
|
||||||
}
|
}
|
||||||
|
|
||||||
void MCSectionData::dump() {
|
|
||||||
raw_ostream &OS = llvm::errs();
|
|
||||||
|
|
||||||
OS << "<MCSectionData";
|
|
||||||
OS << " Fragments:[\n ";
|
|
||||||
for (iterator it = begin(), ie = end(); it != ie; ++it) {
|
|
||||||
if (it != begin()) OS << ",\n ";
|
|
||||||
it->dump();
|
|
||||||
}
|
|
||||||
OS << "]>";
|
|
||||||
}
|
|
||||||
|
|
||||||
void MCSymbolData::dump() const {
|
void MCSymbolData::dump() const {
|
||||||
raw_ostream &OS = llvm::errs();
|
raw_ostream &OS = llvm::errs();
|
||||||
|
|
||||||
|
@ -1225,7 +1209,7 @@ void MCAssembler::dump() {
|
||||||
OS << " Sections:[\n ";
|
OS << " Sections:[\n ";
|
||||||
for (iterator it = begin(), ie = end(); it != ie; ++it) {
|
for (iterator it = begin(), ie = end(); it != ie; ++it) {
|
||||||
if (it != begin()) OS << ",\n ";
|
if (it != begin()) OS << ",\n ";
|
||||||
it->getSectionData().dump();
|
it->dump();
|
||||||
}
|
}
|
||||||
OS << "],\n";
|
OS << "],\n";
|
||||||
OS << " Symbols:[";
|
OS << " Symbols:[";
|
||||||
|
|
|
@ -479,8 +479,8 @@ void MCMachOStreamer::FinishImpl() {
|
||||||
for (MCAssembler::iterator it = getAssembler().begin(),
|
for (MCAssembler::iterator it = getAssembler().begin(),
|
||||||
ie = getAssembler().end(); it != ie; ++it) {
|
ie = getAssembler().end(); it != ie; ++it) {
|
||||||
const MCSymbol *CurrentAtom = nullptr;
|
const MCSymbol *CurrentAtom = nullptr;
|
||||||
for (MCSectionData::iterator it2 = it->begin(),
|
for (MCSection::iterator it2 = it->begin(), ie2 = it->end(); it2 != ie2;
|
||||||
ie2 = it->end(); it2 != ie2; ++it2) {
|
++it2) {
|
||||||
if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(it2))
|
if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(it2))
|
||||||
CurrentAtom = Symbol;
|
CurrentAtom = Symbol;
|
||||||
it2->setAtom(CurrentAtom);
|
it2->setAtom(CurrentAtom);
|
||||||
|
|
|
@ -80,7 +80,7 @@ void MCObjectStreamer::reset() {
|
||||||
if (Assembler)
|
if (Assembler)
|
||||||
Assembler->reset();
|
Assembler->reset();
|
||||||
CurSectionData = nullptr;
|
CurSectionData = nullptr;
|
||||||
CurInsertionPoint = MCSectionData::iterator();
|
CurInsertionPoint = MCSection::iterator();
|
||||||
EmitEHFrame = true;
|
EmitEHFrame = true;
|
||||||
EmitDebugFrame = false;
|
EmitDebugFrame = false;
|
||||||
PendingLabels.clear();
|
PendingLabels.clear();
|
||||||
|
|
|
@ -20,7 +20,7 @@ using namespace llvm;
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
|
MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
|
||||||
: Begin(Begin), HasInstructions(false), Data(*this), Variant(V), Kind(K) {}
|
: Begin(Begin), HasInstructions(false), Variant(V), Kind(K) {}
|
||||||
|
|
||||||
MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
|
MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
|
||||||
if (!End)
|
if (!End)
|
||||||
|
@ -52,23 +52,23 @@ void MCSection::setBundleLockState(BundleLockStateType NewState) {
|
||||||
++BundleLockNestingDepth;
|
++BundleLockNestingDepth;
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::iterator
|
MCSection::iterator
|
||||||
MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
|
MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
|
||||||
if (Subsection == 0 && Data.SubsectionFragmentMap.empty())
|
if (Subsection == 0 && SubsectionFragmentMap.empty())
|
||||||
return end();
|
return end();
|
||||||
|
|
||||||
SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI =
|
SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI =
|
||||||
std::lower_bound(Data.SubsectionFragmentMap.begin(),
|
std::lower_bound(SubsectionFragmentMap.begin(),
|
||||||
Data.SubsectionFragmentMap.end(),
|
SubsectionFragmentMap.end(),
|
||||||
std::make_pair(Subsection, (MCFragment *)nullptr));
|
std::make_pair(Subsection, (MCFragment *)nullptr));
|
||||||
bool ExactMatch = false;
|
bool ExactMatch = false;
|
||||||
if (MI != Data.SubsectionFragmentMap.end()) {
|
if (MI != SubsectionFragmentMap.end()) {
|
||||||
ExactMatch = MI->first == Subsection;
|
ExactMatch = MI->first == Subsection;
|
||||||
if (ExactMatch)
|
if (ExactMatch)
|
||||||
++MI;
|
++MI;
|
||||||
}
|
}
|
||||||
MCSectionData::iterator IP;
|
iterator IP;
|
||||||
if (MI == Data.SubsectionFragmentMap.end())
|
if (MI == SubsectionFragmentMap.end())
|
||||||
IP = end();
|
IP = end();
|
||||||
else
|
else
|
||||||
IP = MI->second;
|
IP = MI->second;
|
||||||
|
@ -76,7 +76,7 @@ MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
|
||||||
// The GNU as documentation claims that subsections have an alignment of 4,
|
// The GNU as documentation claims that subsections have an alignment of 4,
|
||||||
// although this appears not to be the case.
|
// although this appears not to be the case.
|
||||||
MCFragment *F = new MCDataFragment();
|
MCFragment *F = new MCDataFragment();
|
||||||
Data.SubsectionFragmentMap.insert(MI, std::make_pair(Subsection, F));
|
SubsectionFragmentMap.insert(MI, std::make_pair(Subsection, F));
|
||||||
getFragmentList().insert(IP, F);
|
getFragmentList().insert(IP, F);
|
||||||
F->setParent(this);
|
F->setParent(this);
|
||||||
}
|
}
|
||||||
|
@ -84,24 +84,23 @@ MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
|
||||||
return IP;
|
return IP;
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::iterator MCSection::begin() { return Data.begin(); }
|
void MCSection::dump() {
|
||||||
|
raw_ostream &OS = llvm::errs();
|
||||||
|
|
||||||
MCSectionData::iterator MCSection::end() { return Data.end(); }
|
OS << "<MCSection";
|
||||||
|
OS << " Fragments:[\n ";
|
||||||
MCSectionData::reverse_iterator MCSection::rbegin() { return Data.rbegin(); }
|
for (auto it = begin(), ie = end(); it != ie; ++it) {
|
||||||
|
if (it != begin())
|
||||||
MCSectionData::FragmentListType &MCSection::getFragmentList() {
|
OS << ",\n ";
|
||||||
return Data.getFragmentList();
|
it->dump();
|
||||||
|
}
|
||||||
|
OS << "]>";
|
||||||
}
|
}
|
||||||
|
|
||||||
MCSectionData::iterator MCSectionData::begin() { return Fragments.begin(); }
|
MCSection::iterator MCSection::begin() { return Fragments.begin(); }
|
||||||
|
|
||||||
MCSectionData::iterator MCSectionData::end() { return Fragments.end(); }
|
MCSection::iterator MCSection::end() { return Fragments.end(); }
|
||||||
|
|
||||||
MCSectionData::reverse_iterator MCSectionData::rbegin() {
|
MCSection::reverse_iterator MCSection::rbegin() { return Fragments.rbegin(); }
|
||||||
return Fragments.rbegin();
|
|
||||||
}
|
|
||||||
|
|
||||||
MCSectionData::reverse_iterator MCSectionData::rend() {
|
MCSection::reverse_iterator MCSection::rend() { return Fragments.rend(); }
|
||||||
return Fragments.rend();
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue