Lines Matching defs:LDSection
1 //===- LDSection.h --------------------------------------------------------===//
27 /** \class LDSection
28 * \brief LDSection represents a section header entry. It is a unified
31 class LDSection {
33 friend class Chunk<LDSection, MCLD_SECTIONS_PER_INPUT>;
35 LDSection();
37 LDSection(const std::string& pName,
45 ~LDSection();
47 static LDSection* Create(const std::string& pName,
54 static void Destroy(LDSection*& pSection);
82 /// Before layouting, output's LDSection::size() should return zero.
86 /// Before layouting, output's LDSection::offset() should return zero.
91 /// Before layouting, output's LDSection::offset() should return zero.
102 /// Before layouting, output's LDSection::align() should return zero.
112 LDSection* getLink() { return m_pLink; }
114 const LDSection* getLink() const { return m_pLink; }
167 void setLink(LDSection* pLink) { m_pLink = pLink; }
194 LDSection* m_pLink;
201 }; // end of LDSection