13#define DEBUG_TYPE "orc"
22 std::unique_ptr<MemoryBuffer> O) {
23 assert(O &&
"Object must not be null");
28 emit(std::move(R), std::move(*
G), std::move(O));
30 R->getExecutionSession().reportError(
G.takeError());
31 R->failMaterialization();
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
ExecutionSession & getExecutionSession()
void emit(std::unique_ptr< MaterializationResponsibility > R, std::unique_ptr< MemoryBuffer > O) override
Emit an object file.
Expected< std::unique_ptr< LinkGraph > > createLinkGraphFromObject(MemoryBufferRef ObjectBuffer, std::shared_ptr< orc::SymbolStringPool > SSP)
Create a LinkGraph from the given object buffer.