Home
last modified time | relevance | path

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

/llvm-project/mlir/lib/Tools/lsp-server-support/
H A DSourceMgrUtils.cpp80 const char *bufferStart = in extractSourceDocComment() local
82 StringRef buffer(bufferStart, loc.getPointer() - bufferStart); in extractSourceDocComment()
/llvm-project/lld/ELF/
H A DTarget.cpp99 ctx.bufferStart in getErrorPlace()
100 ? (ctx.bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace()
H A DWriter.cpp2804 writeEhdr<ELFT>(ctx, ctx.bufferStart, *ctx.mainPart); in writeSections()
2805 writePhdrs<ELFT>(ctx.bufferStart + sizeof(Elf_Ehdr), *ctx.mainPart); in writeSections()
2807 auto *eHdr = reinterpret_cast<Elf_Ehdr *>(ctx.bufferStart); in writeSections()
2825 auto *sHdrs = reinterpret_cast<Elf_Shdr *>(ctx.bufferStart + eHdr->e_shoff); in computeHash()
2873 ctx.bufferStart = buffer->getBufferStart(); in writeBuildId()
2880 sec->writeTo<ELFT>(ctx, ctx.bufferStart + sec->offset, tg); in writeBuildId()
2902 ctx.bufferStart + alignDown(p->firstSec->offset + p->p_filesz, 4),
2903 ctx.bufferStart + alignToPowerOf2(p->firstSec->offset + p->p_filesz,
2931 sec->writeTo<ELFT>(ctx, ctx.bufferStart + sec->offset, tg);
2937 sec->writeTo<ELFT>(ctx, ctx.bufferStart
[all...]
H A DOutputSections.h151 static uint8_t *bufferStart; global() member
H A DOutputSections.cpp918 const uint8_t *relocTarget = ctx.bufferStart + relOsec->offset +
41 uint8_t *Out::bufferStart; global() member in Out
H A DSyntheticSections.cpp565 uint8_t *buf = ctx.bufferStart + getParent()->offset + outSecOff; in getFdeData()
3708 uint8_t *buf = ctx.bufferStart + getParent()->offset + outSecOff;
/llvm-project/lld/MachO/
H A DRelocations.cpp123 uint64_t off = reinterpret_cast<const uint8_t *>(loc) - in.bufferStart;
H A DSyntheticSections.h844 const uint8_t *bufferStart = nullptr;
842 const uint8_t *bufferStart = nullptr; global() member
H A DWriter.cpp1193 in.bufferStart = buffer->getBufferStart(); in applyOptimizationHints()
/llvm-project/lld/MachO/Arch/
H A DARM64Common.cpp143 uint64_t off = reinterpret_cast<const uint8_t *>(loc) - in.bufferStart; in reportUnalignedLdrStr()
/llvm-project/mlir/lib/AsmParser/
H A DParser.cpp226 const char *bufferStart = state.lex.getBufferBegin(); in emitWrongTokenError()
231 StringRef startOfBuffer(bufferStart, curPtr - bufferStart); in emitWrongTokenError()
225 const char *bufferStart = state.lex.getBufferBegin(); emitWrongTokenError() local