Create a LinkGraph from an ELF/riscv relocatable object
Declared in <llvm/ExecutionEngine/JITLink/ELF_riscv.h>
Expected<std::unique_ptr<LinkGraph>>
createLinkGraphFromELFObject_riscv(
MemoryBufferRef ObjectBuffer,
std::shared_ptr<orc::SymbolStringPool> SSP);
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.
A LinkGraph for the object, or an error if parsing fails.
| Name | Description |
|---|---|
| ObjectBuffer | Buffer containing the ELF/riscv relocatable object. |
| SSP | Symbol string pool used to intern symbol names in the graph. |