/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFFileFormat.h | 185 LDSection& getNULLSection() { in getNULLSection() 190 const LDSection& getNULLSection() const { in getNULLSection() 195 LDSection& getGOT() { in getGOT() 200 const LDSection& getGOT() const { in getGOT() 205 LDSection& getPLT() { in getPLT() 210 const LDSection& getPLT() const { in getPLT() 215 LDSection& getRelDyn() { in getRelDyn() 220 const LDSection& getRelDyn() const { in getRelDyn() 225 LDSection& getRelPlt() { in getRelPlt() 230 const LDSection& getRelPlt() const { in getRelPlt() [all …]
|
D | LDFileFormat.h | 17 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() 103 LDSection* f_pTextSection; // .text __text [all …]
|
D | SectionSymbolSet.h | 19 class LDSection; variable 38 bool add(LDSection& pOutSect, NamePool& pNamePool); 42 bool finalize(LDSection& pOutSect, SymbolTable& pSymTab, bool relocatable); 45 LDSymbol* get(const LDSection& pOutSect); 46 const LDSymbol* get(const LDSection& pOutSect) const; 52 bool operator()(const LDSection* X, const LDSection* Y) const in operator() 59 size_t operator()(const LDSection* pKey) const in operator() 66 typedef HashEntry<const LDSection*, LDSymbol*, SectCompare> SectHashEntryType;
|
D | GarbageCollection.h | 18 class LDSection; variable 30 typedef std::set<const LDSection*> SectionListTy; 31 typedef std::vector<const LDSection*> SectionVecTy; 42 void addReference(const LDSection& pFrom, const LDSection& pTo); 46 SectionListTy& getReachedList(const LDSection& pSection); 50 SectionListTy* findReachedList(const LDSection& pSection); 53 typedef std::map<const LDSection*, SectionListTy> ReachedSectionsTy;
|
D | LDSection.h | 29 class LDSection 32 friend class Chunk<LDSection, MCLD_SECTIONS_PER_INPUT>; 34 LDSection(); 36 LDSection(const std::string& pName, 44 ~LDSection(); 46 static LDSection* Create(const std::string& pName, 53 static void Destroy(LDSection*& pSection); 120 LDSection* getLink() in getLink() 123 const LDSection* getLink() const in getLink() 176 void setLink(LDSection* pLink) in setLink() [all …]
|
D | EhFrameHdr.h | 18 class LDSection; variable 38 EhFrameHdr(LDSection& pEhFrameHdr, const LDSection& pEhFrame); 58 LDSection& m_EhFrameHdr; 61 const LDSection& m_EhFrame;
|
D | LDContext.h | 25 class LDSection; variable 33 typedef std::vector<LDSection*> SectionTable; 43 LDContext& appendSection(LDSection& pSection); 51 const LDSection* getSection(unsigned int pIdx) const; 52 LDSection* getSection(unsigned int pIdx); 54 const LDSection* getSection(const std::string& pName) const; 55 LDSection* getSection(const std::string& pName);
|
D | ELFObjectWriter.h | 24 class LDSection; variable 47 FileOutputBuffer& pOutput, LDSection *section); 73 void emitShStrTab(const LDSection& pShStrTab, 77 void emitSectionData(const LDSection& pSection, MemoryRegion& pRegion) const; 83 const LDSection& pSection, 100 uint64_t getSectEntrySize(const LDSection& pSection) const; 103 uint64_t getSectLink(const LDSection& pSection, 107 uint64_t getSectInfo(const LDSection& pSection) const;
|
D | IdenticalCodeFolding.h | 18 class LDSection; variable 32 typedef llvm::MapVector<LDSection*, ObjectAndId> KeptSections; 40 FoldingCandidate(LDSection* pCode, LDSection* pReloc, Input* pInput) in FoldingCandidate() 49 LDSection* sect; 50 LDSection* reloc_sect;
|
D | ELFSegment.h | 20 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() 104 iterator insert(iterator pPos, LDSection* pSection); 106 void append(LDSection* pSection);
|
D | SectionData.h | 22 class LDSection; variable 33 explicit SectionData(LDSection &pSection); 51 static SectionData* Create(LDSection& pSection); 57 const LDSection& getSection() const { return *m_pSection; } in getSection() 58 LDSection& getSection() { return *m_pSection; } in getSection() 83 LDSection* m_pSection;
|
D | RelocData.h | 25 class LDSection; variable 39 explicit RelocData(LDSection &pSection); 58 static RelocData* Create(LDSection& pSection); 64 const LDSection& getSection() const { return *m_pSection; } in getSection() 65 LDSection& getSection() { return *m_pSection; } in getSection() 105 LDSection* m_pSection;
|
D | EhFrame.h | 27 class LDSection; variable 40 explicit EhFrame(LDSection& pSection); 172 static EhFrame* Create(LDSection& pSection); 181 const LDSection& getSection() const; 182 LDSection& getSection(); 228 void setupAttributes(const LDSection* reloc_sect); 229 void removeDiscardedFDE(CIE& pCIE, const LDSection* pRelocEhFrameSect); 233 const LDSection* reloc_sect); 238 LDSection* m_pSection;
|
D | ELFReader.h | 26 class LDSection; variable 84 LDSection& pSymTab, 89 LDSection& pSection, 94 LDSection& pSection, 174 LDSection& pSymTab, 179 LDSection& pSection, 184 LDSection& pSection,
|
/frameworks/compile/mclinker/lib/LD/ |
D | LDSection.cpp | 17 typedef GCFactory<LDSection, MCLD_SECTIONS_PER_INPUT> SectionFactory; 24 LDSection::LDSection() in LDSection() function in LDSection 39 LDSection::LDSection(const std::string& pName, in LDSection() function in LDSection 59 LDSection::~LDSection() in ~LDSection() 63 bool LDSection::hasOffset() const in hasOffset() 68 LDSection* LDSection::Create(const std::string& pName, in Create() 75 LDSection* result = g_SectFactory->allocate(); in Create() 76 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); in Create() 80 void LDSection::Destroy(LDSection*& pSection) in Destroy() 87 void LDSection::Clear() in Clear() [all …]
|
D | GarbageCollection.cpp | 65 static bool mayProcessGC(const LDSection& pSection) in mayProcessGC() 79 GarbageCollection::SectionReachedListMap::addReference(const LDSection& pFrom, in addReference() 80 const LDSection& pTo) in addReference() 87 const LDSection& pSection) in getReachedList() 94 const LDSection& pSection) in findReachedList() 147 LDSection* reloc_sect = *rs; in setUpReachedSections() 148 LDSection* apply_sect = reloc_sect->getLink(); in setUpReachedSections() 173 const LDSection* target_sect = in setUpReachedSections() 202 LDSection* section = *sect; in getEntrySections() 242 const LDSection* sect = in getEntrySections() [all …]
|
/frameworks/compile/mclinker/include/mcld/Object/ |
D | ObjectBuilder.h | 21 class LDSection; variable 50 LDSection* CreateSection(const std::string& pInputName, 64 LDSection* MergeSection(const Input& pInputFile, LDSection& pInputSection); 70 static void UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom); 73 static void UpdateSectionAlign(LDSection& pSection,
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.h | 79 uint64_t emitSectionData(const LDSection& pSection, 124 unsigned int getTargetSectionOrder(const LDSection& pSectHdr) const; 130 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection); 191 LDSection* m_psdata; 192 LDSection* m_pscommon_1; 193 LDSection* m_pscommon_2; 194 LDSection* m_pscommon_4; 195 LDSection* m_pscommon_8; 196 LDSection* m_pstart;
|
/frameworks/compile/mclinker/unittests/ |
D | FragmentTest.cpp | 43 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F() 53 LDSection::Destroy(test); in TEST_F() 58 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F() 70 LDSection::Destroy(test); in TEST_F()
|
D | SectionDataTest.cpp | 44 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F() 51 LDSection::Destroy(test); in TEST_F() 55 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F() 80 LDSection::Destroy(test); in TEST_F()
|
/frameworks/compile/mclinker/include/mcld/ |
D | Module.h | 28 class LDSection; variable 48 typedef std::vector<LDSection*> SectionTable; 114 LDSection* front() { return m_SectionTable.front(); } in front() 115 const LDSection* front() const { return m_SectionTable.front(); } in front() 116 LDSection* back () { return m_SectionTable.back(); } in back() 117 const LDSection* back () const { return m_SectionTable.back(); } in back() 121 LDSection* getSection(const std::string& pName); 122 const LDSection* getSection(const std::string& pName) const; 139 const LDSymbol* getSectionSymbol(const LDSection& pSection) const in getSectionSymbol() 142 LDSymbol* getSectionSymbol(const LDSection& pSection) in getSectionSymbol()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.h | 91 uint64_t emitSectionData(const LDSection& pSection, 113 unsigned int getTargetSectionOrder(const LDSection& pSectHdr) const; 119 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection); 131 bool mayHaveUnsafeFunctionPointerAccess(const LDSection& pSection) const; 184 LDSection* m_pEXIDX; // .ARM.exidx 185 LDSection* m_pEXTAB; // .ARM.extab 186 LDSection* m_pAttributes; // .ARM.attributes
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectBuilder.cpp | 34 LDSection* ObjectBuilder::CreateSection(const std::string& pName, in CreateSection() 46 LDSection* output_sect = m_Module.getSection(output_name); in CreateSection() 48 output_sect = LDSection::Create(pName, pKind, pType, pFlag); in CreateSection() 56 LDSection* ObjectBuilder::MergeSection(const Input& pInputFile, in MergeSection() 57 LDSection& pInputSection) in MergeSection() 70 LDSection* target = m_Module.getSection(output_name); in MergeSection() 73 target = LDSection::Create(output_name, in MergeSection() 154 void ObjectBuilder::UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom) in UpdateSectionAlign() 161 void ObjectBuilder::UpdateSectionAlign(LDSection& pSection, in UpdateSectionAlign()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.h | 87 LDSection& pSection, 106 LDSection& pSection) = 0; 111 LDSection& pSection) = 0; 162 LDSection& pSection); 167 LDSection& pSection); 171 void convertTLSIEtoLE(Relocation& pReloc, LDSection& pSection); 222 LDSection& pSection); 227 LDSection& pSection);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | TargetLDBackend.h | 29 class LDSection; variable 93 virtual unsigned int getSectionOrder(const LDSection& pSectHdr) const = 0; 117 LDSection& pInputSection) in mergeSection() 130 virtual bool updateSectionFlags(LDSection& pTo, const LDSection& pFrom) in updateSectionFlags() 166 virtual void sortRelocation(LDSection& pSection) = 0; 178 virtual bool mayHaveUnsafeFunctionPointerAccess(const LDSection& pSection)
|