Home | History | Annotate | Download | only in LD

Lines Matching refs:RelocData

1 //===- RelocData.cpp ------------------------------------------------------===//
9 #include "mcld/LD/RelocData.h"
17 typedef GCFactory<RelocData, MCLD_SECTIONS_PER_INPUT> RelocDataFactory;
22 // RelocData
24 RelocData::RelocData() : m_pSection(NULL) {
27 RelocData::RelocData(LDSection& pSection) : m_pSection(&pSection) {
30 RelocData* RelocData::Create(LDSection& pSection) {
31 RelocData* result = g_RelocDataFactory->allocate();
32 new (result) RelocData(pSection);
36 void RelocData::Destroy(RelocData*& pSection) {
37 pSection->~RelocData();
42 void RelocData::Clear() {
46 RelocData& RelocData::append(Relocation& pRelocation) {
51 Relocation& RelocData::remove(Relocation& pRelocation) {