Home
last modified time | relevance | path

Searched refs:bAlloc (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/lld/include/lld/Common/
H A DCommonLinkerContext.h39 llvm::BumpPtrAllocator bAlloc; variable
40 llvm::StringSaver saver{bAlloc};
58 inline llvm::BumpPtrAllocator &bAlloc() { return context().bAlloc; } in bAlloc() function
/llvm-project-15.0.7/lld/COFF/
H A DPDB.cpp79 : builder(bAlloc()), tMerger(ctx, bAlloc()), ctx(ctx) { in PDBLinker()
1427 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in addCommonLinkerModuleSymbols() local
1429 ons, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1431 cs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1433 ebs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1459 cgs, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleCoffGroup()
1472 sym, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleSectionSymbol()
1547 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in addImportFilesToPDB() local
1549 ons, bAlloc, CodeViewContainer::Pdb)); in addImportFilesToPDB()
1551 cs, bAlloc, CodeViewContainer::Pdb)); in addImportFilesToPDB()
[all …]
H A DChunks.cpp433 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations()
H A DInputFiles.cpp1182 char *buf = bAlloc().Allocate<char>(size); in makeImport()
H A DWriter.cpp488 bAlloc().Allocate<coff_relocation>(originalRelocs.size()), in createThunks()
/llvm-project-15.0.7/lld/Common/
H A DMemory.cpp21 void *storage = context().bAlloc.Allocate(size, align); in getOrCreate()
/llvm-project-15.0.7/lld/MachO/
H A DICF.cpp438 MutableArrayRef<uint8_t> copy = isec->data.copy(bAlloc()); in foldIdenticalSections()
H A DInputFiles.cpp219 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in readFile() local
244 path.copy(bAlloc)); in readFile()
H A DWriter.cpp1231 uint8_t *arr = bAlloc().Allocate<uint8_t>(target->wordSize); in createSyntheticSections()
/llvm-project-15.0.7/lld/ELF/Arch/
H A DRISCV.cpp732 uint8_t *p = context().bAlloc.Allocate<uint8_t>(newSize); in riscvFinalizeRelax()
/llvm-project-15.0.7/lld/ELF/
H A DInputSection.cpp118 uncompressedBuf = bAlloc().Allocate<uint8_t>(size); in uncompress()