Home | History | Annotate | Download | only in llvm-rtdyld

Lines Matching refs:Size

150   uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
153 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
178 size_t Size) override {}
180 size_t Size) override {}
182 void preallocateSlab(uint64_t Size) {
184 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err);
190 SlabSize = Size;
193 uint8_t *allocateFromSlab(uintptr_t Size, unsigned Alignment, bool isCode) {
194 Size = RoundUpToAlignment(Size, Alignment);
195 if (CurrentSlabOffset + Size > SlabSize)
199 sys::MemoryBlock MB((void *)OldSlabOffset, Size);
204 CurrentSlabOffset += Size;
216 uint8_t *TrivialMemoryManager::allocateCodeSection(uintptr_t Size,
221 outs() << "allocateCodeSection(Size = " << Size << ", Alignment = "
225 return allocateFromSlab(Size, Alignment, true /* isCode */);
228 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err);
235 uint8_t *TrivialMemoryManager::allocateDataSection(uintptr_t Size,
241 outs() << "allocateDataSection(Size = " << Size << ", Alignment = "
245 return allocateFromSlab(Size, Alignment, false /* isCode */);
248 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err);
281 if (!InputFileList.size())
342 uint64_t Size = P.second;
356 outs() << "Function: " << *Name << ", Size = " << Size
359 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size);
392 if (!InputFileList.size())
518 // Set up a work list (section addr/size pairs).
523 Worklist.push_back(std::make_pair(CodeSection.base(), CodeSection.size()));
525 Worklist.push_back(std::make_pair(DataSection.base(), DataSection.size()));
654 if (!InputFileList.size())