Searched refs:MemoryBuffer (Results 1 – 7 of 7) sorted by relevance
29 class MemoryBuffer : public Memory {31 MemoryBuffer() = default;32 virtual ~MemoryBuffer() { free(raw_); } in ~MemoryBuffer()
218 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read()231 uint8_t* MemoryBuffer::GetPtr(size_t offset) { in GetPtr()
100 std::unique_ptr<MemoryBuffer> dst(new MemoryBuffer); in CreateGnuDebugdataMemory()
60 class MemoryBuffer; variable86 virtual llvm::MemoryBuffer* GetMemoryBuffer() = 0;
133 std::unique_ptr<llvm::MemoryBuffer> buffer;157 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fd, filename, file_size, file_offset); in OpenObjectFile()175 auto buffer = llvm::MemoryBuffer::getMemBuffer(llvm::StringRef(data, size)); in OpenObjectFileInMemory()324 llvm::MemoryBuffer* GetMemoryBuffer() override { in GetMemoryBuffer()
257 llvm::MemoryBuffer* memory = GetMemoryBuffer(map->dso); in ReadTargetMemory()277 llvm::MemoryBuffer* GetMemoryBuffer(Dso* dso) { in GetMemoryBuffer()838 llvm::MemoryBuffer* buffer_ = nullptr;
30 memory_.reset(new MemoryBuffer); in SetUp()32 std::unique_ptr<MemoryBuffer> memory_;