ΒΆExpected<std::unique_ptr<LinkGraph>>
createLinkGraphFromELFObject(
llvm::MemoryBufferRef ObjectBuffer)
Expected<std::unique_ptr<LinkGraph>>
createLinkGraphFromELFObject(
llvm::MemoryBufferRef ObjectBuffer)
Description
Create a LinkGraph from an ELF 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.h:27
Parameters
- llvm::MemoryBufferRef ObjectBuffer