ΒΆExpected<std::unique_ptr<LinkGraph>>
createLinkGraphFromObject(
llvm::MemoryBufferRef ObjectBuffer)
Expected<std::unique_ptr<LinkGraph>>
createLinkGraphFromObject(
llvm::MemoryBufferRef ObjectBuffer)
Description
Create a LinkGraph from the given object buffer. 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/JITLink.h:1789
Parameters
- llvm::MemoryBufferRef ObjectBuffer