Home
last modified time | relevance | path

Searched refs:SectionData (Results 1 – 25 of 80) 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()
132 SectionData* sd = m_Entry.getParent(); in addStub()
/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);
64 static FragmentListType SectionData::*getSublistAccess(Fragment *) { in getSublistAccess()
65 return &SectionData::m_Fragments; in getSublistAccess()
87 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/include/mcld/Fragment/
DFragment.h22 class SectionData; variable
27 class Fragment : public llvm::ilist_node_with_parent<Fragment, SectionData> {
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/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/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()
DARMLDBackend.cpp411 const SectionData* sect_data = pSection.getSectionData(); in emitSectionData()
412 SectionData::const_iterator frag_iter, frag_end = sect_data->end(); in emitSectionData()
504 SectionData* sectData = IRBuilder::CreateSectionData(*m_pEXIDX); in mergeSection()
524 SectionData::FragmentListType& src = in mergeSection()
526 SectionData::FragmentListType& dst = in mergeSection()
528 SectionData::FragmentListType::iterator frag = src.begin(); in mergeSection()
529 SectionData::FragmentListType::iterator fragEnd = src.end(); in mergeSection()
619 bool ARMGNULDBackend::readSection(Input& pInput, SectionData& pSD) { in readSection()
714 SectionData* sectData = m_pEXIDX->getSectionData(); in rewriteARMExIdxSection()
715 SectionData::FragmentListType& list = sectData->getFragmentList(); in rewriteARMExIdxSection()
[all …]
/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.cpp179 const SectionData* sect_data = pSection.getSectionData(); in emitSectionData()
180 SectionData::const_iterator frag_iter, frag_end = sect_data->end(); in emitSectionData()
644 SectionData* prev = NULL; in doRelax()
649 SectionData* sd = (*island).begin()->getParent(); in doRelax()
698 SectionData* sd = NULL; in mergeSection()
713 SectionData* pTo = (m_psdata->getSectionData()); in SetSDataSection()
721 SectionData::FragmentListType& to_list = pTo->getFragmentList(); in SetSDataSection()
722 SectionData::FragmentListType::iterator fragTo, fragToEnd = to_list.end(); in SetSDataSection()
732 SectionData::FragmentListType& newlist = pTo->getFragmentList(); in SetSDataSection()
764 SectionData* bss_sect_data = NULL; in allocateCommonSymbols()
[all …]
DHexagonGOT.h17 class SectionData; variable
24 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) in HexagonGOTEntry()

1234