/frameworks/compile/mclinker/lib/Support/ |
H A D | RegionFactory.cpp | 27 void RegionFactory::destruct(MemoryRegion* pRegion) argument 29 destroy(pRegion); 30 deallocate(pRegion);
|
H A D | MemoryRegion.cpp | 47 void MemoryRegion::Destroy(MemoryRegion*& pRegion) argument 49 if (NULL == pRegion) 52 if (pRegion->hasParent()) 53 pRegion->parent()->removeRegion(*pRegion); 54 g_RegionFactory->destruct(pRegion); 55 pRegion = NULL;
|
H A D | MemoryArea.cpp | 78 void MemoryArea::release(MemoryRegion* pRegion) argument 80 if (NULL == pRegion) 83 Space *space = pRegion->parent(); 84 MemoryRegion::Destroy(pRegion);
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | RegionFragment.cpp | 17 RegionFragment::RegionFragment(MemoryRegion& pRegion, SectionData* pSD) argument 18 : Fragment(Fragment::Region, pSD), m_Region(pRegion) {
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | EhFrameReader.h | 71 /// @param pRegion - the memory region that needs to handle with. 73 MemoryRegion& pRegion, 81 MemoryRegion& pRegion, 85 MemoryRegion& pRegion, 89 MemoryRegion& pRegion, 93 MemoryRegion& pRegion,
|
H A D | ELFObjectWriter.h | 79 MemoryRegion& pRegion) const; 83 MemoryRegion& pRegion) const; 89 MemoryRegion& pRegion) const; 95 MemoryRegion& pRegion) const; 115 void emitSectionData(const SectionData& pSD, MemoryRegion& pRegion) const;
|
H A D | ELFReader.h | 83 const MemoryRegion& pRegion, 95 const MemoryRegion& pRegion) const; 100 const MemoryRegion& pRegion) const; 173 const MemoryRegion& pRegion, 185 const MemoryRegion& pRegion) const; 190 const MemoryRegion& pRegion) const;
|
H A D | ELFReaderIf.h | 74 const MemoryRegion& pRegion, 86 const MemoryRegion& pRegion) const = 0; 91 const MemoryRegion& pRegion) const = 0;
|
H A D | EhFrame.h | 51 CIE(MemoryRegion& pRegion); 67 FDE(MemoryRegion& pRegion,
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrameReader.cpp | 169 MemoryRegion& pRegion, 173 ConstAddress handler = pRegion.start() + pToken.data_off; 174 ConstAddress cie_end = pRegion.end(); 211 EhFrame::CIE* cie = new EhFrame::CIE(pRegion); 317 EhFrame::CIE* cie = new EhFrame::CIE(pRegion); 324 MemoryRegion& pRegion, 327 if (pToken.data_off == pRegion.size()) 331 EhFrame::FDE* fde = new EhFrame::FDE(pRegion, 339 MemoryRegion& pRegion, 342 RegionFragment* frag = new RegionFragment(pRegion); 168 addCIE(EhFrame& pEhFrame, MemoryRegion& pRegion, const EhFrameReader::Token& pToken) argument 323 addFDE(EhFrame& pEhFrame, MemoryRegion& pRegion, const EhFrameReader::Token& pToken) argument 338 addTerm(EhFrame& pEhFrame, MemoryRegion& pRegion, const EhFrameReader::Token& pToken) argument 347 reject(EhFrame& pEhFrame, MemoryRegion& pRegion, const EhFrameReader::Token& pToken) argument [all...] |
H A D | EhFrame.cpp | 27 EhFrame::CIE::CIE(MemoryRegion& pRegion) argument 28 : RegionFragment(pRegion) { 34 EhFrame::FDE::FDE(MemoryRegion& pRegion, argument 37 : RegionFragment(pRegion),
|
H A D | ELFObjectWriter.cpp | 378 MemoryRegion& pRegion) const 394 emitSectionData(*sd, pRegion); 400 MemoryRegion& pRegion) const 407 emitRel<32>(pConfig, *sect_data, pRegion); 409 emitRel<64>(pConfig, *sect_data, pRegion); 416 emitRela<32>(pConfig, *sect_data, pRegion); 418 emitRela<64>(pConfig, *sect_data, pRegion); 432 MemoryRegion& pRegion) const 438 ElfXX_Rel* rel = reinterpret_cast<ElfXX_Rel*>(pRegion.start()); 473 MemoryRegion& pRegion) cons [all...] |
H A D | ELFReader.cpp | 69 const MemoryRegion& pRegion, 73 size_t entsize = pRegion.size()/sizeof(llvm::ELF::Elf32_Sym); 75 reinterpret_cast<const llvm::ELF::Elf32_Sym*>(pRegion.start()); 214 const MemoryRegion& pRegion) const 217 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rela); 219 reinterpret_cast<const llvm::ELF::Elf32_Rela*>(pRegion.start()); 251 const MemoryRegion& pRegion) const 254 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rel); 256 reinterpret_cast<const llvm::ELF::Elf32_Rel*>(pRegion.start()); 630 const MemoryRegion& pRegion, 67 readSymbols(Input& pInput, IRBuilder& pBuilder, const MemoryRegion& pRegion, const char* pStrTab) const argument 628 readSymbols(Input& pInput, IRBuilder& pBuilder, const MemoryRegion& pRegion, const char* pStrTab) const argument [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86LDBackend.h | 70 /// @param pRegion - the region to write out data 73 MemoryRegion& pRegion) const; 125 virtual uint64_t emitGOTSectionData(MemoryRegion& pRegion) const = 0; 127 virtual uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion, 178 uint64_t emitGOTSectionData(MemoryRegion& pRegion) const; 180 uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion, 218 uint64_t emitGOTSectionData(MemoryRegion& pRegion) const; 220 uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
|
H A D | X86LDBackend.cpp | 160 MemoryRegion& pRegion) const 162 assert(pRegion.size() && "Size of MemoryRegion is zero!"); 174 unsigned char* buffer = pRegion.getBuffer(); 197 RegionSize += emitGOTSectionData(pRegion); 201 RegionSize += emitGOTPLTSectionData(pRegion, FileFormat); 407 uint64_t X86_32GNULDBackend::emitGOTSectionData(MemoryRegion& pRegion) const 411 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.getBuffer()); 427 uint64_t X86_32GNULDBackend::emitGOTPLTSectionData(MemoryRegion& pRegion, argument 434 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.getBuffer()); 555 uint64_t X86_64GNULDBackend::emitGOTSectionData(MemoryRegion& pRegion) cons 575 emitGOTPLTSectionData(MemoryRegion& pRegion, const ELFFileFormat* FileFormat) const argument [all...] |
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | RegionFragment.h | 27 RegionFragment(MemoryRegion& pRegion, SectionData* pSD = NULL);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | RegionFactory.h | 36 void destruct(MemoryRegion* pRegion);
|
H A D | Space.h | 67 void addRegion(MemoryRegion& pRegion) argument 70 void removeRegion(MemoryRegion& pRegion) argument
|
H A D | MemoryRegion.h | 85 /// @param pRegion [in, out] pRegion is set to NULL if the destruction is 87 static void Destroy(MemoryRegion*& pRegion);
|
H A D | MemoryArea.h | 73 void release(MemoryRegion* pRegion);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMPLT.h | 75 uint64_t emit(MemoryRegion& pRegion);
|
H A D | ARMGOT.h | 71 uint64_t emit(MemoryRegion& pRegion);
|
H A D | ARMGOT.cpp | 150 uint64_t ARMGOT::emit(MemoryRegion& pRegion) argument 152 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.getBuffer());
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.h | 77 /// @param pRegion - the region to write out data 80 MemoryRegion& pRegion) const; 169 virtual uint64_t emitGOTSectionData(MemoryRegion& pRegion) const; 171 virtual uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
|
H A D | HexagonPLT.h | 87 uint64_t emit(MemoryRegion& pRegion);
|