Searched refs:MemoryBuffer (Results 1 – 10 of 10) sorted by relevance
29 class MemoryBuffer : public Memory {31 MemoryBuffer() = default;32 virtual ~MemoryBuffer() { free(raw_); } in ~MemoryBuffer()
29 std::unique_ptr<MemoryBuffer> copy(new MemoryBuffer()); in Load()
113 std::unique_ptr<MemoryBuffer> copy(new MemoryBuffer); in Create()
241 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read()254 uint8_t* MemoryBuffer::GetPtr(size_t offset) { in GetPtr()
30 static std::unique_ptr<MemoryBuffer> ReadFile(const char* filename) { in ReadFile()35 auto memory = std::make_unique<MemoryBuffer>(); in ReadFile()49 std::unique_ptr<MemoryBuffer> expected_content_;
32 memory_.reset(new MemoryBuffer); in SetUp()34 std::unique_ptr<MemoryBuffer> memory_;
26 class MemoryBuffer; variable93 virtual llvm::MemoryBuffer* GetMemoryBuffer() = 0;
144 std::unique_ptr<llvm::MemoryBuffer> buffer;168 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fd, filename, file_size, file_offset); in OpenObjectFile()186 auto buffer = llvm::MemoryBuffer::getMemBuffer(llvm::StringRef(data, size)); in OpenObjectFileInMemory()322 llvm::MemoryBuffer* GetMemoryBuffer() override { return wrapper_.buffer.get(); } in GetMemoryBuffer()
259 llvm::MemoryBuffer* memory = GetMemoryBuffer(map->dso); in ReadTargetMemory()286 llvm::MemoryBuffer* GetMemoryBuffer(Dso* dso) { in GetMemoryBuffer()862 llvm::MemoryBuffer* buffer_ = nullptr;
1949 llvm::MemoryBuffer* buffer = elf->GetMemoryBuffer(); in DumpDebugUnwindFeature()