Searched refs:pRegion (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/
H A DRegionFactory.cpp27 void RegionFactory::destruct(MemoryRegion* pRegion) argument
29 destroy(pRegion);
30 deallocate(pRegion);
H A DMemoryRegion.cpp47 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 DMemoryArea.cpp78 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 DRegionFragment.cpp17 RegionFragment::RegionFragment(MemoryRegion& pRegion, SectionData* pSD) argument
18 : Fragment(Fragment::Region, pSD), m_Region(pRegion) {
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h71 /// @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 DELFObjectWriter.h79 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 DELFReader.h83 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 DELFReaderIf.h74 const MemoryRegion& pRegion,
86 const MemoryRegion& pRegion) const = 0;
91 const MemoryRegion& pRegion) const = 0;
H A DEhFrame.h51 CIE(MemoryRegion& pRegion);
67 FDE(MemoryRegion& pRegion,
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp169 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 DEhFrame.cpp27 EhFrame::CIE::CIE(MemoryRegion& pRegion) argument
28 : RegionFragment(pRegion) {
34 EhFrame::FDE::FDE(MemoryRegion& pRegion, argument
37 : RegionFragment(pRegion),
H A DELFObjectWriter.cpp378 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 DELFReader.cpp69 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 DX86LDBackend.h70 /// @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 DX86LDBackend.cpp160 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 DRegionFragment.h27 RegionFragment(MemoryRegion& pRegion, SectionData* pSD = NULL);
/frameworks/compile/mclinker/include/mcld/Support/
H A DRegionFactory.h36 void destruct(MemoryRegion* pRegion);
H A DSpace.h67 void addRegion(MemoryRegion& pRegion) argument
70 void removeRegion(MemoryRegion& pRegion) argument
H A DMemoryRegion.h85 /// @param pRegion [in, out] pRegion is set to NULL if the destruction is
87 static void Destroy(MemoryRegion*& pRegion);
H A DMemoryArea.h73 void release(MemoryRegion* pRegion);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMPLT.h75 uint64_t emit(MemoryRegion& pRegion);
H A DARMGOT.h71 uint64_t emit(MemoryRegion& pRegion);
H A DARMGOT.cpp150 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 DHexagonLDBackend.h77 /// @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 DHexagonPLT.h87 uint64_t emit(MemoryRegion& pRegion);

Completed in 967 milliseconds

12