Home
last modified time | relevance | path

Searched refs:pSection (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/compile/mclinker/lib/LD/
DSectionData.cpp28 SectionData::SectionData(LDSection& pSection) : m_pSection(&pSection) { in SectionData() argument
31 SectionData* SectionData::Create(LDSection& pSection) { in Create() argument
33 new (result) SectionData(pSection); in Create()
37 void SectionData::Destroy(SectionData*& pSection) { in Destroy() argument
38 pSection->~SectionData(); in Destroy()
39 g_SectDataFactory->deallocate(pSection); in Destroy()
40 pSection = NULL; in Destroy()
DRelocData.cpp27 RelocData::RelocData(LDSection& pSection) : m_pSection(&pSection) { in RelocData() argument
30 RelocData* RelocData::Create(LDSection& pSection) { in Create() argument
32 new (result) RelocData(pSection); in Create()
36 void RelocData::Destroy(RelocData*& pSection) { in Destroy() argument
37 pSection->~RelocData(); in Destroy()
38 g_RelocDataFactory->deallocate(pSection); in Destroy()
39 pSection = NULL; in Destroy()
DELFObjectWriter.cpp381 void ELFObjectWriter::emitSectionData(const LDSection& pSection, in emitSectionData() argument
384 switch (pSection.kind()) { in emitSectionData()
386 assert(pSection.hasRelocData()); in emitSectionData()
389 assert(pSection.hasEhFrame()); in emitSectionData()
390 sd = pSection.getEhFrame()->getSectionData(); in emitSectionData()
393 assert(pSection.hasSectionData()); in emitSectionData()
394 sd = pSection.getSectionData(); in emitSectionData()
449 const LDSection& pSection, in emitRelocation() argument
451 const RelocData* sect_data = pSection.getRelocData(); in emitRelocation()
454 if (pSection.type() == llvm::ELF::SHT_REL) { in emitRelocation()
[all …]
DELFSegment.cpp73 LDSection* pSection) { in insert() argument
74 return m_SectionList.insert(pPos, pSection); in insert()
77 void ELFSegment::append(LDSection* pSection) { in append() argument
78 assert(pSection != NULL); in append()
79 if (pSection->align() > m_MaxSectionAlign) in append()
80 m_MaxSectionAlign = pSection->align(); in append()
81 m_SectionList.push_back(pSection); in append()
DDebugString.cpp40 void DebugString::merge(LDSection& pSection) { in merge() argument
43 SectionData::iterator it, end = pSection.getSectionData()->end(); in merge()
44 for (it = pSection.getSectionData()->begin(); it != end; ++it) { in merge()
53 const char* str_end = str + pSection.size(); in merge()
90 DebugString* DebugString::Create(LDSection& pSection) { in Create() argument
91 g_DebugString->setOutputSection(pSection); in Create()
DLDContext.cpp20 LDContext& LDContext::appendSection(LDSection& pSection) { in appendSection() argument
21 if (LDFileFormat::Relocation == pSection.kind()) in appendSection()
22 m_RelocSections.push_back(&pSection); in appendSection()
23 pSection.setIndex(m_SectionTable.size()); in appendSection()
24 m_SectionTable.push_back(&pSection); in appendSection()
DLDSection.cpp77 void LDSection::Destroy(LDSection*& pSection) { in Destroy() argument
78 g_SectFactory->destroy(pSection); in Destroy()
79 g_SectFactory->deallocate(pSection); in Destroy()
80 pSection = NULL; in Destroy()
DGarbageCollection.cpp62 static bool mayProcessGC(const LDSection& pSection) { in mayProcessGC() argument
63 if (pSection.kind() == LDFileFormat::TEXT || in mayProcessGC()
64 pSection.kind() == LDFileFormat::DATA || in mayProcessGC()
65 pSection.kind() == LDFileFormat::BSS || in mayProcessGC()
66 pSection.kind() == LDFileFormat::GCCExceptTable) in mayProcessGC()
82 const LDSection& pSection) { in getReachedList() argument
83 return m_ReachedSections[&pSection]; in getReachedList()
88 const LDSection& pSection) { in findReachedList() argument
89 ReachedSectionsTy::iterator it = m_ReachedSections.find(&pSection); in findReachedList()
DELFSegmentFactory.cpp48 const LDSection* pSection) { in find() argument
54 if (*sect == pSection) in find()
64 const LDSection* pSection) const { in find()
70 if (*sect == pSection) in find()
DEhFrame.cpp95 EhFrame::EhFrame(LDSection& pSection) in EhFrame() argument
96 : m_pSection(&pSection), m_pSectionData(NULL) { in EhFrame()
97 m_pSectionData = SectionData::Create(pSection); in EhFrame()
103 EhFrame* EhFrame::Create(LDSection& pSection) { in Create() argument
105 new (result) EhFrame(pSection); in Create()
109 void EhFrame::Destroy(EhFrame*& pSection) { in Destroy() argument
110 pSection->~EhFrame(); in Destroy()
111 g_EhFrameFactory->deallocate(pSection); in Destroy()
112 pSection = NULL; in Destroy()
/frameworks/compile/mclinker/lib/Target/X86/
DX86GOT.cpp21 X86_32GOT::X86_32GOT(LDSection& pSection) : GOT(pSection) { in X86_32GOT() argument
34 X86_64GOT::X86_64GOT(LDSection& pSection) : GOT(pSection) { in X86_64GOT() argument
DX86Relocator.h83 LDSection& pSection,
102 LDSection& pSection) = 0;
107 LDSection& pSection) = 0;
163 LDSection& pSection);
168 LDSection& pSection);
172 void convertTLSIEtoLE(Relocation& pReloc, LDSection& pSection);
228 LDSection& pSection);
233 LDSection& pSection);
DX86GOTPLT.cpp23 X86_32GOTPLT::X86_32GOTPLT(LDSection& pSection) : X86_32GOT(pSection) { in X86_32GOTPLT() argument
57 X86_64GOTPLT::X86_64GOTPLT(LDSection& pSection) : X86_64GOT(pSection) { in X86_64GOTPLT() argument
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp284 SectionData* IRBuilder::CreateSectionData(LDSection& pSection) { in CreateSectionData() argument
285 assert(!pSection.hasSectionData() && "pSection already has section data."); in CreateSectionData()
287 SectionData* sect_data = SectionData::Create(pSection); in CreateSectionData()
288 pSection.setSectionData(sect_data); in CreateSectionData()
293 RelocData* IRBuilder::CreateRelocData(LDSection& pSection) { in CreateRelocData() argument
294 assert(!pSection.hasRelocData() && "pSection already has relocation data."); in CreateRelocData()
296 RelocData* reloc_data = RelocData::Create(pSection); in CreateRelocData()
297 pSection.setRelocData(reloc_data); in CreateRelocData()
302 EhFrame* IRBuilder::CreateEhFrame(LDSection& pSection) { in CreateEhFrame() argument
303 assert(!pSection.hasEhFrame() && "pSection already has eh_frame."); in CreateEhFrame()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDebugString.h30 static DebugString* Create(LDSection& pSection);
34 void merge(LDSection& pSection);
48 void setOutputSection(LDSection& pSection) in setOutputSection() argument
49 { m_pSection = &pSection; } in setOutputSection()
DELFObjectWriter.h73 void emitSectionData(const LDSection& pSection, MemoryRegion& pRegion) const;
80 const LDSection& pSection,
97 uint64_t getSectEntrySize(const LDSection& pSection) const;
100 uint64_t getSectLink(const LDSection& pSection,
104 uint64_t getSectInfo(const LDSection& pSection) const;
/frameworks/compile/mclinker/lib/Target/
DPLT.cpp20 PLT::PLT(LDSection& pSection) : m_Section(pSection) { in PLT() argument
21 m_pSectionData = IRBuilder::CreateSectionData(pSection); in PLT()
DGOT.cpp24 GOT::GOT(LDSection& pSection) : m_Section(pSection) { in GOT() argument
25 m_SectionData = IRBuilder::CreateSectionData(pSection); in GOT()
DOutputRelocSection.cpp24 OutputRelocSection::OutputRelocSection(Module& pModule, LDSection& pSection) in OutputRelocSection() argument
29 assert(!pSection.hasRelocData() && in OutputRelocSection()
31 m_pRelocData = IRBuilder::CreateRelocData(pSection); in OutputRelocSection()
/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp76 FragmentRef* FragmentRef::Create(LDSection& pSection, uint64_t pOffset) { in Create() argument
78 switch (pSection.kind()) { in Create()
83 if (pSection.hasEhFrame()) in Create()
84 data = pSection.getEhFrame()->getSectionData(); in Create()
87 data = pSection.getSectionData(); in Create()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonGOTPLT.cpp23 HexagonGOTPLT::HexagonGOTPLT(LDSection& pSection) : HexagonGOT(pSection) { in HexagonGOTPLT() argument
28 pSection.setAlign(8); in HexagonGOTPLT()
DHexagonGOT.cpp21 HexagonGOT::HexagonGOT(LDSection& pSection) : GOT(pSection) { in HexagonGOT() argument
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h235 static SectionData* CreateSectionData(LDSection& pSection);
244 static RelocData* CreateRelocData(LDSection& pSection);
253 static EhFrame* CreateEhFrame(LDSection& pSection);
260 static DebugString* CreateDebugString(LDSection& pSection);
270 static SectionData* CreateBSS(LDSection& pSection);
393 LDSection* pSection = NULL,
450 static Relocation* AddRelocation(LDSection& pSection,
/frameworks/compile/mclinker/lib/Target/ARM/
DARMException.h47 void setTextSection(LDSection* pSection) { in setTextSection() argument
48 m_pTextSection = pSection; in setTextSection()
51 void setExIdxSection(LDSection* pSection) { in setExIdxSection() argument
52 m_pExIdxSection = pSection; in setExIdxSection()
DARMRelocator.h92 LDSection& pSection,
108 void scanLocalReloc(Relocation& pReloc, const LDSection& pSection);
112 const LDSection& pSection);

1234