Home
last modified time | relevance | path

Searched refs:pRegion (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/compile/mclinker/include/mcld/LD/
DELFObjectWriter.h73 void emitSectionData(const LDSection& pSection, MemoryRegion& pRegion) const;
77 MemoryRegion& pRegion) const;
81 MemoryRegion& pRegion) const;
87 MemoryRegion& pRegion) const;
93 MemoryRegion& pRegion) const;
112 void emitSectionData(const SectionData& pSD, MemoryRegion& pRegion) const;
DEhFrameReader.h59 llvm::StringRef pRegion,
70 llvm::StringRef pRegion,
74 llvm::StringRef pRegion,
78 llvm::StringRef pRegion,
82 llvm::StringRef pRegion,
DELFReader.h74 llvm::StringRef pRegion,
86 llvm::StringRef pRegion) const;
91 llvm::StringRef pRegion) const;
159 llvm::StringRef pRegion,
171 llvm::StringRef pRegion) const;
176 llvm::StringRef pRegion) const;
DEhFrame.h61 explicit Record(llvm::StringRef pRegion);
81 explicit CIE(llvm::StringRef pRegion);
139 FDE(llvm::StringRef pRegion, CIE& pCIE);
153 explicit GeneratedCIE(llvm::StringRef pRegion);
162 GeneratedFDE(llvm::StringRef pRegion, CIE& pCIE);
DELFReaderIf.h65 llvm::StringRef pRegion,
77 llvm::StringRef pRegion) const = 0;
82 llvm::StringRef pRegion) const = 0;
/frameworks/compile/mclinker/lib/LD/
DEhFrameReader.cpp166 llvm::StringRef pRegion, in addCIE() argument
169 ConstAddress handler = pRegion.begin() + pToken.data_off; in addCIE()
170 ConstAddress cie_end = pRegion.end(); in addCIE()
213 EhFrame::CIE* cie = new EhFrame::CIE(pRegion); in addCIE()
323 EhFrame::CIE* cie = new EhFrame::CIE(pRegion); in addCIE()
334 llvm::StringRef pRegion, in addFDE() argument
336 if (pToken.data_off == pRegion.size()) in addFDE()
340 *(const int32_t*)(pRegion.begin() + pToken.data_off - 4); in addFDE()
349 EhFrame::FDE* fde = new EhFrame::FDE(pRegion, *iter->second); in addFDE()
355 llvm::StringRef pRegion, in addTerm() argument
[all …]
DELFObjectWriter.cpp382 MemoryRegion& pRegion) const { in emitSectionData()
397 emitSectionData(*sd, pRegion); in emitSectionData()
403 MemoryRegion& pRegion) const { in emitEhFrame()
404 emitSectionData(*pFrame.getSectionData(), pRegion); in emitEhFrame()
425 memcpy(pRegion.begin() + fde.getOffset() + in emitEhFrame()
430 memcpy(pRegion.begin() + fde.getOffset() + in emitEhFrame()
442 memcpy(pRegion.begin() + fde_cie_ptr_offset, &offset, 4); in emitEhFrame()
450 MemoryRegion& pRegion) const { in emitRelocation()
456 emitRel<32>(pConfig, *sect_data, pRegion); in emitRelocation()
458 emitRel<64>(pConfig, *sect_data, pRegion); in emitRelocation()
[all …]
DEhFrame.cpp33 EhFrame::Record::Record(llvm::StringRef pRegion) : RegionFragment(pRegion) { in Record() argument
43 EhFrame::CIE::CIE(llvm::StringRef pRegion) in CIE() argument
44 : EhFrame::Record(pRegion), in CIE()
57 EhFrame::FDE::FDE(llvm::StringRef pRegion, EhFrame::CIE& pCIE) in FDE() argument
58 : EhFrame::Record(pRegion), m_pCIE(&pCIE) { in FDE()
72 EhFrame::GeneratedCIE::GeneratedCIE(llvm::StringRef pRegion) in GeneratedCIE() argument
73 : EhFrame::CIE(pRegion) { in GeneratedCIE()
82 EhFrame::GeneratedFDE::GeneratedFDE(llvm::StringRef pRegion, CIE& pCIE) in GeneratedFDE() argument
83 : EhFrame::FDE(pRegion, pCIE) { in GeneratedFDE()
DMergedStringTable.cpp28 void MergedStringTable::emit(MemoryRegion& pRegion) { in emit() argument
29 char* ptr = reinterpret_cast<char*>(pRegion.begin()); in emit()
DELFReader.cpp67 llvm::StringRef pRegion, in readSymbols() argument
70 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Sym); in readSymbols()
72 reinterpret_cast<const llvm::ELF::Elf32_Sym*>(pRegion.begin()); in readSymbols()
206 llvm::StringRef pRegion) const { in readRela()
208 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rela); in readRela()
210 reinterpret_cast<const llvm::ELF::Elf32_Rela*>(pRegion.begin()); in readRela()
235 llvm::StringRef pRegion) const { in readRel()
237 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rel); in readRel()
239 reinterpret_cast<const llvm::ELF::Elf32_Rel*>(pRegion.begin()); in readRel()
567 llvm::StringRef pRegion, in readSymbols() argument
[all …]
DDebugString.cpp86 void DebugString::emit(MemoryRegion& pRegion) { in emit() argument
87 return m_StringTable.emit(pRegion); in emit()
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.h73 MemoryRegion& pRegion) const;
123 virtual uint64_t emitGOTSectionData(MemoryRegion& pRegion) const = 0;
126 MemoryRegion& pRegion,
180 uint64_t emitGOTSectionData(MemoryRegion& pRegion) const;
182 uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
222 uint64_t emitGOTSectionData(MemoryRegion& pRegion) const;
224 uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
DX86LDBackend.cpp159 MemoryRegion& pRegion) const { in emitSectionData()
160 assert(pRegion.size() && "Size of MemoryRegion is zero!"); in emitSectionData()
170 unsigned char* buffer = pRegion.begin(); in emitSectionData()
191 RegionSize += emitGOTSectionData(pRegion); in emitSectionData()
194 RegionSize += emitGOTPLTSectionData(pRegion, FileFormat); in emitSectionData()
468 uint64_t X86_32GNULDBackend::emitGOTSectionData(MemoryRegion& pRegion) const { in emitGOTSectionData()
471 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); in emitGOTSectionData()
488 MemoryRegion& pRegion, in emitGOTPLTSectionData() argument
494 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); in emitGOTPLTSectionData()
653 uint64_t X86_64GNULDBackend::emitGOTSectionData(MemoryRegion& pRegion) const { in emitGOTSectionData()
[all …]
/frameworks/compile/mclinker/lib/Fragment/
DRegionFragment.cpp16 RegionFragment::RegionFragment(llvm::StringRef pRegion, SectionData* pSD) in RegionFragment() argument
17 : Fragment(Fragment::Region, pSD), m_Region(pRegion) { in RegionFragment()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h79 MemoryRegion& pRegion) const;
164 virtual uint64_t emitGOTSectionData(MemoryRegion& pRegion) const;
166 virtual uint64_t emitGOTPLTSectionData(MemoryRegion& pRegion,
DHexagonLDBackend.cpp137 MemoryRegion& pRegion) const { in emitSectionData()
138 if (!pRegion.size()) in emitSectionData()
148 unsigned char* buffer = pRegion.begin(); in emitSectionData()
170 RegionSize += emitGOTSectionData(pRegion); in emitSectionData()
174 RegionSize += emitGOTPLTSectionData(pRegion, FileFormat); in emitSectionData()
181 uint8_t* out_offset = pRegion.begin(); in emitSectionData()
226 return pRegion.size(); in emitSectionData()
304 uint64_t HexagonLDBackend::emitGOTSectionData(MemoryRegion& pRegion) const { in emitGOTSectionData()
307 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); in emitGOTSectionData()
349 MemoryRegion& pRegion, in emitGOTPLTSectionData() argument
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOTPLT.cpp30 uint64_t MipsGOTPLT::emit(MemoryRegion& pRegion) { in emit() argument
31 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); in emit()
DMipsGOT.h41 virtual uint64_t emit(MemoryRegion& pRegion) = 0;
230 virtual uint64_t emit(MemoryRegion& pRegion);
248 virtual uint64_t emit(MemoryRegion& pRegion);
DMipsPLT.cpp78 uint64_t MipsPLT::emit(MemoryRegion& pRegion) { in emit() argument
82 unsigned char* buffer = pRegion.begin(); in emit()
DMipsPLT.h34 uint64_t emit(MemoryRegion& pRegion);
DMipsGOTPLT.h32 uint64_t emit(MemoryRegion& pRegion);
/frameworks/compile/mclinker/lib/Support/
DFileOutputBuffer.cpp15 FileOutputBuffer::FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion, in FileOutputBuffer() argument
17 : m_pRegion(pRegion), m_FileHandle(pFileHandle) { in FileOutputBuffer()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64LDBackend.cpp269 MemoryRegion& pRegion) const { in emitSectionData()
270 assert(pRegion.size() && "Size of MemoryRegion is zero!"); in emitSectionData()
275 uint64_t result = m_pPLT->emit(pRegion); in emitSectionData()
280 uint64_t result = m_pGOT->emit(pRegion); in emitSectionData()
285 uint64_t result = m_pGOT->emit(pRegion); in emitSectionData()
289 return pRegion.size(); in emitSectionData()
DAArch64GOT.cpp118 uint64_t AArch64GOT::emit(MemoryRegion& pRegion) { in emit() argument
119 uint64_t* buffer = reinterpret_cast<uint64_t*>(pRegion.begin()); in emit()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGOT.cpp115 uint64_t ARMGOT::emit(MemoryRegion& pRegion) { in emit() argument
116 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); in emit()

12