ΒΆExpected<std::unique_ptr<LinkGraph>>
createLinkGraphFromELFObject_riscv(
    llvm::MemoryBufferRef ObjectBuffer)

Description

Create a LinkGraph from an ELF/riscv relocatable object Note: The graph does not take ownership of the underlying buffer, nor copy its contents. The caller is responsible for ensuring that the object buffer outlives the graph.

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h:29

Parameters

llvm::MemoryBufferRef ObjectBuffer