Lines Matching full:sectiondata
1 //===- SectionData.cpp ----------------------------------------------------===//
9 #include "mcld/LD/SectionData.h"
18 typedef GCFactory<SectionData, MCLD_SECTIONS_PER_INPUT> SectDataFactory;
23 // SectionData
25 SectionData::SectionData() : m_pSection(NULL) {
28 SectionData::SectionData(LDSection& pSection) : m_pSection(&pSection) {
31 SectionData* SectionData::Create(LDSection& pSection) {
32 SectionData* result = g_SectDataFactory->allocate();
33 new (result) SectionData(pSection);
37 void SectionData::Destroy(SectionData*& pSection) {
38 pSection->~SectionData();
43 void SectionData::Clear() {