private:
iplist<MCFragment> Fragments;
- const MCSection &Section;
+ const MCSection *Section;
/// Alignment - The maximum alignment seen in this section.
unsigned Alignment;
MCSectionData();
MCSectionData(const MCSection &Section, MCAssembler *A = 0);
- const MCSection &getSection() const { return Section; }
+ const MCSection &getSection() const { return *Section; }
unsigned getAlignment() const { return Alignment; }
void setAlignment(unsigned Value) { Alignment = Value; }
/* *** */
-MCSectionData::MCSectionData() : Section(*(MCSection*)0) {}
+MCSectionData::MCSectionData() : Section(0) {}
MCSectionData::MCSectionData(const MCSection &_Section, MCAssembler *A)
- : Section(_Section),
+ : Section(&_Section),
Alignment(1),
Address(~UINT64_C(0)),
Size(~UINT64_C(0)),