[llvm] [Offload] Check for initialization (PR #144370)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 08:24:56 PDT 2025


================
@@ -27,6 +27,7 @@ struct OffloadConfig {
   bool ValidationEnabled = true;
 };
 
+bool &offloadInited();
----------------
jhuber6 wrote:

Realistically we should have one big pointer for all our global state and this just returns whether or not that's null.

https://github.com/llvm/llvm-project/pull/144370


More information about the llvm-commits mailing list