Home
last modified time | relevance | path

Searched refs:LDSection (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h210 LDSection& getNULLSection() { in getNULLSection()
215 const LDSection& getNULLSection() const { in getNULLSection()
220 LDSection& getGOT() { in getGOT()
225 const LDSection& getGOT() const { in getGOT()
230 LDSection& getPLT() { in getPLT()
235 const LDSection& getPLT() const { in getPLT()
240 LDSection& getRelDyn() { in getRelDyn()
245 const LDSection& getRelDyn() const { in getRelDyn()
250 LDSection& getRelPlt() { in getRelPlt()
255 const LDSection& getRelPlt() const { in getRelPlt()
[all …]
DLDFileFormat.h17 class LDSection; variable
62 LDSection& getText() { in getText()
67 const LDSection& getText() const { in getText()
72 LDSection& getData() { in getData()
77 const LDSection& getData() const { in getData()
82 LDSection& getBSS() { in getBSS()
87 const LDSection& getBSS() const { in getBSS()
92 LDSection& getReadOnly() { in getReadOnly()
97 const LDSection& getReadOnly() const { in getReadOnly()
104 LDSection* f_pTextSection; // .text __text
[all …]
DSectionSymbolSet.h18 class LDSection; variable
36 bool add(LDSection& pOutSect, NamePool& pNamePool);
40 bool finalize(LDSection& pOutSect, SymbolTable& pSymTab, bool relocatable);
43 LDSymbol* get(const LDSection& pOutSect);
44 const LDSymbol* get(const LDSection& pOutSect) const;
49 bool operator()(const LDSection* X, const LDSection* Y) const { in operator()
56 size_t operator()(const LDSection* pKey) const { in operator()
62 typedef HashEntry<const LDSection*, LDSymbol*, SectCompare> SectHashEntryType;
DGarbageCollection.h18 class LDSection; variable
28 typedef std::set<const LDSection*> SectionListTy;
29 typedef std::vector<const LDSection*> SectionVecTy;
39 void addReference(const LDSection& pFrom, const LDSection& pTo);
43 SectionListTy& getReachedList(const LDSection& pSection);
47 SectionListTy* findReachedList(const LDSection& pSection);
50 typedef std::map<const LDSection*, SectionListTy> ReachedSectionsTy;
DDebugString.h18 class LDSection; variable
30 static DebugString* Create(LDSection& pSection);
34 void merge(LDSection& pSection);
48 void setOutputSection(LDSection& pSection) in setOutputSection()
52 const LDSection* getSection() const { return m_pSection; } in getSection()
53 LDSection* getSection() { return m_pSection; } in getSection()
57 LDSection* m_pSection;
DLDSection.h31 class LDSection {
33 friend class Chunk<LDSection, MCLD_SECTIONS_PER_INPUT>;
35 LDSection();
37 LDSection(const std::string& pName,
45 ~LDSection();
47 static LDSection* Create(const std::string& pName,
54 static void Destroy(LDSection*& pSection);
112 LDSection* getLink() { return m_pLink; } in getLink()
114 const LDSection* getLink() const { return m_pLink; } in getLink()
167 void setLink(LDSection* pLink) { m_pLink = pLink; } in setLink()
[all …]
DELFObjectWriter.h20 class LDSection; variable
44 LDSection* section);
69 void emitShStrTab(const LDSection& pShStrTab,
73 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;
DLDContext.h27 class LDSection; variable
34 typedef std::vector<LDSection*> SectionTable;
44 LDContext& appendSection(LDSection& pSection);
52 const LDSection* getSection(unsigned int pIdx) const;
53 LDSection* getSection(unsigned int pIdx);
55 const LDSection* getSection(const std::string& pName) const;
56 LDSection* getSection(const std::string& pName);
DEhFrameHdr.h18 class LDSection; variable
37 EhFrameHdr(LDSection& pEhFrameHdr, const LDSection& pEhFrame);
57 LDSection& m_EhFrameHdr;
60 const LDSection& m_EhFrame;
DELFSegment.h21 class LDSection; variable
28 typedef std::vector<LDSection*> SectionList;
53 LDSection* front() { return m_SectionList.front(); } in front()
54 const LDSection* front() const { return m_SectionList.front(); } in front()
55 LDSection* back() { return m_SectionList.back(); } in back()
56 const LDSection* back() const { return m_SectionList.back(); } in back()
96 iterator insert(iterator pPos, LDSection* pSection);
98 void append(LDSection* pSection);
DIdenticalCodeFolding.h20 class LDSection; variable
34 typedef llvm::MapVector<LDSection*, ObjectAndId> KeptSections;
40 FoldingCandidate(LDSection* pCode, LDSection* pReloc, Input* pInput) in FoldingCandidate()
50 LDSection* sect;
51 LDSection* reloc_sect;
DSectionData.h23 class LDSection; variable
33 explicit SectionData(LDSection& pSection);
48 static SectionData* Create(LDSection& pSection);
54 const LDSection& getSection() const { return *m_pSection; } in getSection()
55 LDSection& getSection() { return *m_pSection; } in getSection()
84 LDSection* m_pSection;
DRelocData.h27 class LDSection; variable
41 explicit RelocData(LDSection& pSection);
57 static RelocData* Create(LDSection& pSection);
63 const LDSection& getSection() const { return *m_pSection; } in getSection()
64 LDSection& getSection() { return *m_pSection; } in getSection()
97 LDSection* m_pSection;
DEhFrame.h27 class LDSection; variable
38 explicit EhFrame(LDSection& pSection);
169 static EhFrame* Create(LDSection& pSection);
178 const LDSection& getSection() const;
179 LDSection& getSection();
227 void setupAttributes(const LDSection* reloc_sect);
228 void removeDiscardedFDE(CIE& pCIE, const LDSection* pRelocEhFrameSect);
234 const LDSection* reloc_sect);
239 LDSection* m_pSection;
/frameworks/compile/mclinker/lib/LD/
DLDSection.cpp17 typedef GCFactory<LDSection, MCLD_SECTIONS_PER_INPUT> SectionFactory;
24 LDSection::LDSection() in LDSection() function in mcld::LDSection
39 LDSection::LDSection(const std::string& pName, in LDSection() function in mcld::LDSection
59 LDSection::~LDSection() { in ~LDSection()
62 bool LDSection::hasOffset() const { in hasOffset()
66 LDSection* LDSection::Create(const std::string& pName, in Create()
72 LDSection* result = g_SectFactory->allocate(); in Create()
73 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); in Create()
77 void LDSection::Destroy(LDSection*& pSection) { in Destroy()
83 void LDSection::Clear() { in Clear()
[all …]
DGarbageCollection.cpp62 static bool mayProcessGC(const LDSection& pSection) { in mayProcessGC()
75 const LDSection& pFrom, in addReference()
76 const LDSection& pTo) { in addReference()
82 const LDSection& pSection) { in getReachedList()
88 const LDSection& pSection) { in findReachedList()
136 LDSection* reloc_sect = *rs; in setUpReachedSections()
137 LDSection* apply_sect = reloc_sect->getLink(); in setUpReachedSections()
162 const LDSection* target_sect = in setUpReachedSections()
190 LDSection* section = *sect; in getEntrySections()
220 const LDSection* sect = in getEntrySections()
[all …]
/frameworks/compile/mclinker/include/mcld/Object/
DObjectBuilder.h22 class LDSection; variable
51 LDSection* CreateSection(const std::string& pInputName,
65 LDSection* MergeSection(const Input& pInputFile, LDSection& pInputSection);
71 static void UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom);
74 static void UpdateSectionAlign(LDSection& pSection,
/frameworks/compile/mclinker/lib/Target/ARM/
DARMException.h26 class LDSection; variable
39 LDSection* getTextSection() const { in getTextSection()
43 LDSection* getExIdxSection() const { in getExIdxSection()
47 void setTextSection(LDSection* pSection) { in setTextSection()
51 void setExIdxSection(LDSection* pSection) { in setExIdxSection()
74 LDSection* m_pTextSection;
80 LDSection* m_pExIdxSection;
88 typedef std::map<LDSection*, std::unique_ptr<ARMExSectionTuple> > SectMap;
98 ARMExSectionTuple* getByExSection(LDSection &pSect) const { in getByExSection()
109 ARMExSectionTuple* getOrCreateByExSection(LDSection &pSect) { in getOrCreateByExSection()
DARMLDBackend.h91 uint64_t emitSectionData(const LDSection& pSection,
113 unsigned int getTargetSectionOrder(const LDSection& pSectHdr) const;
125 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
138 bool mayHaveUnsafeFunctionPointerAccess(const LDSection& pSection) const;
198 LDSection* m_pEXIDX; // .ARM.exidx
199 LDSection* m_pEXTAB; // .ARM.extab
200 LDSection* m_pAttributes; // .ARM.attributes
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h78 uint64_t emitSectionData(const LDSection& pSection,
122 unsigned int getTargetSectionOrder(const LDSection& pSectHdr) const;
128 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
184 LDSection* m_psdata;
185 LDSection* m_pscommon_1;
186 LDSection* m_pscommon_2;
187 LDSection* m_pscommon_4;
188 LDSection* m_pscommon_8;
189 LDSection* m_pstart;
/frameworks/compile/mclinker/include/mcld/
DModule.h28 class LDSection; variable
47 typedef std::vector<LDSection*> SectionTable;
113 LDSection* front() { return m_SectionTable.front(); } in front()
114 const LDSection* front() const { return m_SectionTable.front(); } in front()
115 LDSection* back() { return m_SectionTable.back(); } in back()
116 const LDSection* back() const { return m_SectionTable.back(); } in back()
120 LDSection* getSection(const std::string& pName);
121 const LDSection* getSection(const std::string& pName) const;
138 const LDSymbol* getSectionSymbol(const LDSection& pSection) const { in getSectionSymbol()
142 LDSymbol* getSectionSymbol(const LDSection& pSection) { in getSectionSymbol()
/frameworks/compile/mclinker/unittests/
DFragmentTest.cpp38 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
48 LDSection::Destroy(test); in TEST_F()
53 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
65 LDSection::Destroy(test); in TEST_F()
DSectionDataTest.cpp39 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
45 LDSection::Destroy(test); in TEST_F()
49 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
74 LDSection::Destroy(test); in TEST_F()
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp34 LDSection* ObjectBuilder::CreateSection(const std::string& pName, in CreateSection()
45 LDSection* output_sect = m_Module.getSection(output_name); in CreateSection()
47 output_sect = LDSection::Create(pName, pKind, pType, pFlag); in CreateSection()
55 LDSection* ObjectBuilder::MergeSection(const Input& pInputFile, in MergeSection()
56 LDSection& pInputSection) { in MergeSection()
67 LDSection* target = m_Module.getSection(output_name); in MergeSection()
70 target = LDSection::Create(output_name, in MergeSection()
166 void ObjectBuilder::UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom) { in UpdateSectionAlign()
172 void ObjectBuilder::UpdateSectionAlign(LDSection& pSection, in UpdateSectionAlign()
/frameworks/compile/mclinker/lib/Target/X86/
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);

12345