reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Overridden By

lib/Support/FileOutputBuffer.cpp
   40   uint8_t *getBufferStart() const override { return (uint8_t *)Buffer->data(); }
   83   uint8_t *getBufferStart() const override { return (uint8_t *)Buffer.base(); }

References

include/llvm/Support/BinaryByteStream.h
  212               MutableArrayRef<uint8_t>(Buffer->getBufferStart(),
  225     uint8_t *getBufferStart() const { return FileBuffer->getBufferStart(); }
tools/lld/COFF/Writer.cpp
 1270   uint8_t *buf = buffer->getBufferStart();
 1453       buffer->getBufferStart() + coff->PointerToSymbolTable);
 1746   uint8_t *buf = buffer->getBufferStart();
 1777       reinterpret_cast<const char *>(buffer->getBufferStart()),
 1804   uint8_t *buf = buffer->getBufferStart();
 1818     return buffer->getBufferStart() + os->getFileOff() + c->getRVA() -
tools/lld/ELF/Writer.cpp
 2606   Out::bufferStart = buffer->getBufferStart();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1540   _buffer = fob->getBufferStart();
tools/lld/wasm/Writer.cpp
  179   memcpy(buffer->getBufferStart(), header.data(), header.size());
  183   uint8_t *buf = buffer->getBufferStart();
tools/llvm-cvtres/llvm-cvtres.cpp
  205             FileBuffer->getBufferStart());
tools/llvm-lipo/llvm-lipo.cpp
  580             OutFileOrError.get()->getBufferStart());
  700   std::memset(OutFile->getBufferStart(), 0, OutputFileSize);
  704   std::memcpy(OutFile->getBufferStart(), &FatHeader, sizeof(MachO::fat_header));
  709               OutFile->getBufferStart() + FatArchList[Index].offset);
  717   std::memcpy(OutFile->getBufferStart() + sizeof(MachO::fat_header),
tools/llvm-mt/llvm-mt.cpp
  156             FileBuffer->getBufferStart());
tools/llvm-objcopy/Buffer.cpp
   60   return reinterpret_cast<uint8_t *>(Buf->getBufferStart());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  298                 Buf->getBufferStart());
unittests/Support/FileOutputBufferTest.cpp
   50     memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
   72     memcpy(Buffer2->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
   89     memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
  110     memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);