[llvm] [Orc] Add NotifyCreated callback for LLJITBuilder (PR #84175)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 15:21:57 PST 2024


Stefan =?utf-8?q?Gr=C3=A4nitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84175 at github.com>


================
@@ -474,6 +487,11 @@ class LLJITBuilderSetters {
     std::unique_ptr<JITType> J(new JITType(impl(), Err));
     if (Err)
       return std::move(Err);
+
+    if (impl().NotifyCreated)
+      if (Error Err = impl().NotifyCreated(*J))
+        return Err;
----------------
joker-eph wrote:

Seems like clang requires it but not gcc (which is used in premerge) nor MSVC.

You should have got a lot of buildbot emails though, didn't you?

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


More information about the llvm-commits mailing list