================
@@ -82,6 +82,10 @@ static void EmitEntryPointFunc(const FunctionRec &F, raw_ostream &OS) {
   }
   OS << ") {\n";
 
+  // Check offload is inited
----------------
RossBrunton wrote:
Updated.
https://github.com/llvm/llvm-project/pull/144370