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

12

/frameworks/compile/mclinker/lib/Fragment/
H A DRegionFragment.cpp16 RegionFragment::RegionFragment(llvm::StringRef pRegion, SectionData* pSD) argument
17 : Fragment(Fragment::Region, pSD), m_Region(pRegion) {
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h69 /// @param pRegion - the memory region that needs to handle with.
71 llvm::StringRef pRegion,
80 llvm::StringRef pRegion,
84 llvm::StringRef pRegion,
88 llvm::StringRef pRegion,
92 llvm::StringRef pRegion,
H A DELFObjectWriter.h77 void emitSectionData(const LDSection& pSection, MemoryRegion& pRegion) const;
80 EhFrame& pFrame, MemoryRegion& pRegion) const;
84 MemoryRegion& pRegion) const;
90 MemoryRegion& pRegion) const;
96 MemoryRegion& pRegion) const;
116 void emitSectionData(const SectionData& pSD, MemoryRegion& pRegion) const;
H A DELFReader.h78 llvm::StringRef pRegion,
90 llvm::StringRef pRegion) const;
95 llvm::StringRef pRegion) const;
168 llvm::StringRef pRegion,
180 llvm::StringRef pRegion) const;
185 llvm::StringRef pRegion) const;
H A DELFReaderIf.h72 llvm::StringRef pRegion,
84 llvm::StringRef pRegion) const = 0;
89 llvm::StringRef pRegion) const = 0;
H A DEhFrame.h71 Record(llvm::StringRef pRegion);
90 CIE(llvm::StringRef pRegion);
140 FDE(llvm::StringRef pRegion, CIE& pCIE);
155 GeneratedCIE(llvm::StringRef pRegion);
165 GeneratedFDE(llvm::StringRef pRegion, CIE& pCIE);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsPLT.h33 uint64_t emit(MemoryRegion& pRegion);
H A DMipsGOTPLT.h33 uint64_t emit(MemoryRegion& pRegion);
H A DMipsGOTPLT.cpp38 uint64_t MipsGOTPLT::emit(MemoryRegion& pRegion) argument
40 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin());
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.h70 /// @param pRegion - the region to write out data
73 MemoryRegion& pRegion) const;
126 virtual uint64_t emitGOTSectionData(MemoryRegion& pRegion) const = 0;
129 emitGOTPLTSectionData(MemoryRegion& pRegion,
184 uint64_t emitGOTSectionData(MemoryRegion& pRegion) const;
186 uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
227 uint64_t emitGOTSectionData(MemoryRegion& pRegion) const;
229 uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
H A DX86LDBackend.cpp169 MemoryRegion& pRegion) const
171 assert(pRegion.size() && "Size of MemoryRegion is zero!");
181 unsigned char* buffer = pRegion.begin();
203 RegionSize += emitGOTSectionData(pRegion);
207 RegionSize += emitGOTPLTSectionData(pRegion, FileFormat);
509 uint64_t X86_32GNULDBackend::emitGOTSectionData(MemoryRegion& pRegion) const
513 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin());
529 uint64_t X86_32GNULDBackend::emitGOTPLTSectionData(MemoryRegion& pRegion, argument
536 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin());
709 uint64_t X86_64GNULDBackend::emitGOTSectionData(MemoryRegion& pRegion) cons
730 emitGOTPLTSectionData(MemoryRegion& pRegion, const ELFFileFormat* FileFormat) const argument
[all...]
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DRegionFragment.h23 RegionFragment(llvm::StringRef pRegion, SectionData* pSD = NULL);
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp172 llvm::StringRef pRegion,
176 ConstAddress handler = pRegion.begin() + pToken.data_off;
177 ConstAddress cie_end = pRegion.end();
216 EhFrame::CIE* cie = new EhFrame::CIE(pRegion);
326 EhFrame::CIE* cie = new EhFrame::CIE(pRegion);
337 llvm::StringRef pRegion,
340 if (pToken.data_off == pRegion.size())
343 const int32_t offset = *(const int32_t*) (pRegion.begin() + pToken.data_off
353 EhFrame::FDE* fde = new EhFrame::FDE(pRegion, *iter->second);
359 llvm::StringRef pRegion,
171 addCIE(EhFrame& pEhFrame, llvm::StringRef pRegion, const EhFrameReader::Token& pToken) argument
336 addFDE(EhFrame& pEhFrame, llvm::StringRef pRegion, const EhFrameReader::Token& pToken) argument
358 addTerm(EhFrame& pEhFrame, llvm::StringRef pRegion, const EhFrameReader::Token& pToken) argument
365 reject(EhFrame& pEhFrame, llvm::StringRef pRegion, const EhFrameReader::Token& pToken) argument
[all...]
H A DEhFrame.cpp32 EhFrame::Record::Record(llvm::StringRef pRegion) argument
33 : RegionFragment(pRegion) {
44 EhFrame::CIE::CIE(llvm::StringRef pRegion) argument
45 : EhFrame::Record(pRegion),
56 EhFrame::FDE::FDE(llvm::StringRef pRegion, EhFrame::CIE& pCIE) argument
57 : EhFrame::Record(pRegion), m_pCIE(&pCIE) {
73 EhFrame::GeneratedCIE::GeneratedCIE(llvm::StringRef pRegion) argument
74 : EhFrame::CIE(pRegion) {
84 EhFrame::GeneratedFDE::GeneratedFDE(llvm::StringRef pRegion, CIE &pCIE) argument
85 : EhFrame::FDE(pRegion, pCI
[all...]
H A DELFObjectWriter.cpp392 MemoryRegion& pRegion) const
408 emitSectionData(*sd, pRegion);
413 EhFrame& pFrame, MemoryRegion& pRegion) const
415 emitSectionData(*pFrame.getSectionData(), pRegion);
435 memcpy(pRegion.begin() + fde.getOffset() +
439 memcpy(pRegion.begin() + fde.getOffset() +
450 memcpy(pRegion.begin() + fde_cie_ptr_offset, &offset, 4);
458 MemoryRegion& pRegion) const
465 emitRel<32>(pConfig, *sect_data, pRegion);
467 emitRel<64>(pConfig, *sect_data, pRegion);
[all...]
H A DELFReader.cpp70 llvm::StringRef pRegion,
74 size_t entsize = pRegion.size()/sizeof(llvm::ELF::Elf32_Sym);
76 reinterpret_cast<const llvm::ELF::Elf32_Sym*>(pRegion.begin());
215 llvm::StringRef pRegion) const
218 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rela);
220 reinterpret_cast<const llvm::ELF::Elf32_Rela*>(pRegion.begin());
243 llvm::StringRef pRegion) const
246 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rel);
248 reinterpret_cast<const llvm::ELF::Elf32_Rel*>(pRegion.begin());
595 llvm::StringRef pRegion,
68 readSymbols(Input& pInput, IRBuilder& pBuilder, llvm::StringRef pRegion, const char* pStrTab) const argument
593 readSymbols(Input& pInput, IRBuilder& pBuilder, llvm::StringRef pRegion, const char* pStrTab) const argument
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DFileOutputBuffer.cpp16 FileOutputBuffer::FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion, argument
18 : m_pRegion(pRegion), m_FileHandle(pFileHandle)
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.h73 uint64_t emit(MemoryRegion& pRegion);
H A DAArch64LDBackend.cpp283 MemoryRegion& pRegion) const
285 assert(pRegion.size() && "Size of MemoryRegion is zero!");
290 uint64_t result = m_pPLT->emit(pRegion);
295 uint64_t result = m_pGOT->emit(pRegion);
300 uint64_t result = m_pGOT->emit(pRegion);
305 return pRegion.size();
H A DAArch64PLT.h77 uint64_t emit(MemoryRegion& pRegion);
H A DAArch64GOT.cpp128 uint64_t AArch64GOT::emit(MemoryRegion& pRegion) argument
130 uint64_t* buffer = reinterpret_cast<uint64_t*>(pRegion.begin());
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.h61 uint64_t emit(MemoryRegion& pRegion);
H A DARMPLT.h73 uint64_t emit(MemoryRegion& pRegion);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.h77 /// @param pRegion - the region to write out data
80 MemoryRegion& pRegion) const;
171 virtual uint64_t emitGOTSectionData(MemoryRegion& pRegion) const;
173 virtual uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileOutputBuffer.h59 FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion,

Completed in 205 milliseconds

12