Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/compile/mclinker/lib/LD/
H A 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()
H A 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()
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()
338 frag = in_frag_list.remove(SectionData::iterator(**i)); in moveInputFragments()
345 SectionData::iterator cur_iter(*pOutCIE); in moveInputFragments()
348 Fragment* frag = in_frag_list.remove(SectionData::iterator(**i)); in moveInputFragments()
[all …]
H A 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()
/aosp12/frameworks/compile/mclinker/include/mcld/LD/
H A 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);
H A 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;
/aosp12/frameworks/compile/mclinker/include/mcld/Fragment/
H A 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;
H A DNullFragment.h16 class SectionData; variable
24 explicit NullFragment(SectionData* pSD = NULL);
H A DTargetFragment.h16 class SectionData; variable
24 explicit TargetFragment(Fragment::Type pKind, SectionData* pSD = NULL)
H A DFillFragment.h18 class SectionData; variable
25 SectionData* pSD = NULL);
/aosp12/frameworks/compile/mclinker/lib/Target/X86/
H A 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);
H A 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()
H A 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()
/aosp12/frameworks/compile/mclinker/include/mcld/Target/
H A 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;
H A 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;
/aosp12/frameworks/compile/mclinker/include/mcld/Object/
H A DObjectBuilder.h24 class SectionData; variable
68 static bool MoveSectionData(SectionData& pFrom, SectionData& pTo);
92 SectionData& pSD,
/aosp12/frameworks/compile/mclinker/unittests/
H A DFragmentTest.cpp39 SectionData* s = SectionData::Create(*test); in TEST_F()
54 SectionData* s = SectionData::Create(*test); in TEST_F()
H A DSectionDataTest.cpp41 SectionData* s = SectionData::Create(*test); in TEST_F()
50 SectionData* s = SectionData::Create(*test); in TEST_F()
/aosp12/frameworks/compile/mclinker/lib/Object/
H A 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()
H A DSectionMap.cpp53 SectionData* sd = SectionData::Create(*m_pSection); in Input()
65 SectionData* sd = SectionData::Create(*m_pSection); in Input()
89 SectionData* sd = SectionData::Create(*m_pSection); in Output()
101 SectionData* sd = SectionData::Create(*m_pSection); in Output()
/aosp12/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp179 const SectionData* sect_data = pSection.getSectionData(); 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()
764 SectionData* bss_sect_data = NULL; in allocateCommonSymbols()
770 SectionData* tbss_sect_data = NULL; in allocateCommonSymbols()
904 bool HexagonLDBackend::MoveCommonData(SectionData& pFrom, SectionData& pTo) { in MoveCommonData()
905 SectionData::FragmentListType& to_list = pTo.getFragmentList(); in MoveCommonData()
911 SectionData::FragmentListType::iterator fragInsert; in MoveCommonData()
[all …]
H A DHexagonLDBackend.h131 bool readSection(Input& pInput, SectionData& pSD);
133 bool MoveCommonData(SectionData& pFrom, SectionData& pTo);
135 bool MoveSectionDataAndSort(SectionData& pFrom, SectionData& pTo);
H A DHexagonGOT.h17 class SectionData; variable
24 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) in HexagonGOTEntry()
/aosp12/frameworks/compile/mclinker/lib/Target/AArch64/
H A 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()
/aosp12/frameworks/compile/mclinker/lib/Target/ARM/
H A 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()
H A DARMLDBackend.cpp411 const SectionData* sect_data = pSection.getSectionData(); in emitSectionData()
524 SectionData::FragmentListType& src = in mergeSection()
526 SectionData::FragmentListType& dst = in mergeSection()
528 SectionData::FragmentListType::iterator frag = src.begin(); in mergeSection()
714 SectionData* sectData = m_pEXIDX->getSectionData(); in rewriteARMExIdxSection()
719 SectionData::FragmentListType tmp; in rewriteARMExIdxSection()
721 SectionData::iterator first = sectData->begin(); in rewriteARMExIdxSection()
722 SectionData::iterator last = sectData->end(); in rewriteARMExIdxSection()
739 SectionData::FragmentListType::iterator it = list.begin(); in rewriteARMExIdxSection()
943 SectionData* prev = NULL; in doRelax()
[all …]

1234