Home
last modified time | relevance | path

Searched refs:SectionData (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/compile/mclinker/lib/LD/
DSectionData.cpp18 typedef GCFactory<SectionData, MCLD_SECTIONS_PER_INPUT> SectDataFactory;
25 SectionData::SectionData() : m_pSection(NULL) { in SectionData() function in mcld::SectionData
28 SectionData::SectionData(LDSection& pSection) : m_pSection(&pSection) { in SectionData() function in mcld::SectionData
31 SectionData* SectionData::Create(LDSection& pSection) { in Create()
32 SectionData* result = g_SectDataFactory->allocate(); in Create()
33 new (result) SectionData(pSection); in Create()
37 void SectionData::Destroy(SectionData*& pSection) { in Destroy()
38 pSection->~SectionData(); in Destroy()
43 void SectionData::Clear() { in Clear()
DEhFrame.cpp97 m_pSectionData = SectionData::Create(pSection); in EhFrame()
314 SectionData& in_sd = *pInFrame.getSectionData(); in moveInputFragments()
315 SectionData::FragmentListType& in_frag_list = in_sd.getFragmentList(); in moveInputFragments()
316 SectionData& out_sd = *getSectionData(); in moveInputFragments()
317 SectionData::FragmentListType& out_frag_list = out_sd.getFragmentList(); in moveInputFragments()
327 SectionData& in_sd = *pInFrame.getSectionData(); in moveInputFragments()
328 SectionData::FragmentListType& in_frag_list = in_sd.getFragmentList(); in moveInputFragments()
329 SectionData& out_sd = *getSectionData(); in moveInputFragments()
330 SectionData::FragmentListType& out_frag_list = out_sd.getFragmentList(); in moveInputFragments()
334 Fragment* frag = in_frag_list.remove(SectionData::iterator(pInCIE)); in moveInputFragments()
[all …]
DBranchIsland.cpp39 SectionData::iterator BranchIsland::begin() { in begin()
43 SectionData::const_iterator BranchIsland::begin() const { in begin()
47 SectionData::iterator BranchIsland::end() { in end()
53 SectionData::const_iterator BranchIsland::end() const { in end()
106 SectionData* sd = m_Entry.getParent(); in addStub()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragment.h22 class SectionData; variable
34 explicit Fragment(Type pKind, SectionData* pParent = NULL);
40 const SectionData* getParent() const { return m_pParent; } in getParent()
41 SectionData* getParent() { return m_pParent; } in getParent()
43 void setParent(SectionData* pValue) { m_pParent = pValue; } in setParent()
61 SectionData* m_pParent;
DNullFragment.h16 class SectionData; variable
24 explicit NullFragment(SectionData* pSD = NULL);
DTargetFragment.h16 class SectionData; variable
24 explicit TargetFragment(Fragment::Type pKind, SectionData* pSD = NULL)
DFillFragment.h18 class SectionData; variable
25 SectionData* pSD = NULL);
DAlignFragment.h16 class SectionData; variable
24 SectionData* pSD = NULL);
/frameworks/compile/mclinker/include/mcld/LD/
DSectionData.h28 class SectionData {
30 friend class Chunk<SectionData, MCLD_SECTIONS_PER_INPUT>;
32 SectionData();
33 explicit SectionData(LDSection& pSection);
48 static SectionData* Create(LDSection& pSection);
50 static void Destroy(SectionData*& pSection);
83 DISALLOW_COPY_AND_ASSIGN(SectionData);
DLDSection.h25 class SectionData; variable
133 const SectionData* getSectionData() const { return m_Data.sect_data; } in getSectionData()
134 SectionData* getSectionData() { return m_Data.sect_data; } in getSectionData()
136 void setSectionData(SectionData* pSD) { m_Data.sect_data = pSD; } in setSectionData()
175 SectionData* sect_data;
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.h61 X86_32DynPLT0(SectionData& pParent);
66 X86_32DynPLT1(SectionData& pParent);
71 X86_32ExecPLT0(SectionData& pParent);
76 X86_32ExecPLT1(SectionData& pParent);
84 X86_64PLT0(SectionData& pParent);
89 X86_64PLT1(SectionData& pParent);
DX86GOT.h17 class SectionData; variable
24 X86_32GOTEntry(uint64_t pContent, SectionData* pParent) in X86_32GOTEntry()
46 X86_64GOTEntry(uint64_t pContent, SectionData* pParent) in X86_64GOTEntry()
DX86PLT.cpp24 X86_32DynPLT0::X86_32DynPLT0(SectionData& pParent) in X86_32DynPLT0()
28 X86_32DynPLT1::X86_32DynPLT1(SectionData& pParent) in X86_32DynPLT1()
32 X86_32ExecPLT0::X86_32ExecPLT0(SectionData& pParent) in X86_32ExecPLT0()
36 X86_32ExecPLT1::X86_32ExecPLT1(SectionData& pParent) in X86_32ExecPLT1()
40 X86_64PLT0::X86_64PLT0(SectionData& pParent) in X86_64PLT0()
44 X86_64PLT1::X86_64PLT1(SectionData& pParent) in X86_64PLT1()
103 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize()
/frameworks/compile/mclinker/include/mcld/Target/
DPLT.h26 explicit PLTEntryBase(SectionData& pParent) in PLTEntryBase()
47 typedef SectionData::iterator iterator;
48 typedef SectionData::const_iterator const_iterator;
56 explicit Entry(SectionData& pParent) : EntryBase(pParent) {} in Entry()
80 SectionData* m_pSectionData;
DGOT.h30 typedef SectionData::iterator iterator;
31 typedef SectionData::const_iterator const_iterator;
39 Entry(uint64_t pValue, SectionData* pParent) in Entry()
74 SectionData* m_SectionData;
/frameworks/compile/mclinker/include/mcld/Object/
DObjectBuilder.h24 class SectionData; variable
68 static bool MoveSectionData(SectionData& pFrom, SectionData& pTo);
92 SectionData& pSD,
/frameworks/compile/mclinker/unittests/
DFragmentTest.cpp39 SectionData* s = SectionData::Create(*test); in TEST_F()
54 SectionData* s = SectionData::Create(*test); in TEST_F()
DSectionDataTest.cpp41 SectionData* s = SectionData::Create(*test); in TEST_F()
50 SectionData* s = SectionData::Create(*test); in TEST_F()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h131 bool readSection(Input& pInput, SectionData& pSD);
133 bool MoveCommonData(SectionData& pFrom, SectionData& pTo);
135 bool MoveSectionDataAndSort(SectionData& pFrom, SectionData& pTo);
DHexagonLDBackend.cpp178 const SectionData* sect_data = pSection.getSectionData(); in emitSectionData()
179 SectionData::const_iterator frag_iter, frag_end = sect_data->end(); in emitSectionData()
667 SectionData* sd = NULL; in mergeSection()
682 SectionData* pTo = (m_psdata->getSectionData()); in SetSDataSection()
690 SectionData::FragmentListType& to_list = pTo->getFragmentList(); in SetSDataSection()
691 SectionData::FragmentListType::iterator fragTo, fragToEnd = to_list.end(); in SetSDataSection()
701 SectionData::FragmentListType& newlist = pTo->getFragmentList(); in SetSDataSection()
733 SectionData* bss_sect_data = NULL; in allocateCommonSymbols()
739 SectionData* tbss_sect_data = NULL; in allocateCommonSymbols()
873 bool HexagonLDBackend::MoveCommonData(SectionData& pFrom, SectionData& pTo) { in MoveCommonData()
[all …]
DHexagonGOT.h17 class SectionData; variable
24 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) in HexagonGOTEntry()
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp105 SectionData* data = NULL; in MergeSection()
130 bool ObjectBuilder::MoveSectionData(SectionData& pFrom, SectionData& pTo) { in MoveSectionData()
149 SectionData::FragmentListType& from_list = pFrom.getFragmentList(); in MoveSectionData()
150 SectionData::FragmentListType& to_list = pTo.getFragmentList(); in MoveSectionData()
151 SectionData::FragmentListType::iterator frag, fragEnd = from_list.end(); in MoveSectionData()
180 SectionData& pSD, in AppendFragment()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64GOT.cpp56 SectionData::FragmentListType& frag_list = m_SectionData->getFragmentList(); in finalizeSectionSize()
58 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize()
105 SectionData::iterator entry(m_pGOTPLTFront); in applyGOTPLT()
106 SectionData::iterator e_end; in applyGOTPLT()
110 e_end = SectionData::iterator(m_pGOTFront); in applyGOTPLT()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGOT.cpp53 SectionData::FragmentListType& frag_list = m_SectionData->getFragmentList(); in finalizeSectionSize()
55 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize()
102 SectionData::iterator entry(m_pGOTPLTFront); in applyGOTPLT()
103 SectionData::iterator e_end; in applyGOTPLT()
107 e_end = SectionData::iterator(m_pGOTFront); in applyGOTPLT()
DARMException.cpp58 SectionData* sectData = pSection.getSectionData(); in findRegionFragment()
59 for (SectionData::iterator it = sectData->begin(), in findRegionFragment()
233 SectionData* sectData = m_pEXIDX->getSectionData(); in rewriteARMExIdxSection()
234 SectionData::FragmentListType& list = sectData->getFragmentList(); in rewriteARMExIdxSection()
238 SectionData::FragmentListType tmp; in rewriteARMExIdxSection()
240 SectionData::iterator first = sectData->begin(); in rewriteARMExIdxSection()
241 SectionData::iterator last = sectData->end(); in rewriteARMExIdxSection()
258 SectionData::FragmentListType::iterator it = list.begin(); in rewriteARMExIdxSection()
311 for (SectionData::iterator it = sectData->begin(), end = sectData->end(); in rewriteARMExIdxSection()

1234