[llvm-dev] OrcV1 removal

Lang Hames via llvm-dev llvm-dev at lists.llvm.org
Sun Oct 4 21:02:23 PDT 2020


Hi Andres,

Oops! That's a think-o on my part -- fixed in 0465bdc47f6a. Thanks Andres!

-- Lang.

On Sun, Oct 4, 2020 at 2:04 PM Andres Freund <andres at anarazel.de> wrote:

> Hi,
>
> On 2020-10-02 11:12:45 -0700, Andres Freund via llvm-dev wrote:
> > The error reporting change also works and helps. Need to figure out on
> > the PG side how to better associate the reported errors with the user
> > action, but that's quite doable. Might just end up re-setting the error
> > reporter on a more granular basis, to update the context.
>
> One thing I noticed is that there's an unconditional error reporting
> call:
>
> LLJIT::~LLJIT() {
>   if (CompileThreads)
>     CompileThreads->wait();
>   ES->reportError(ES->endSession());
> }
>
> Is that intentional? It's easy enough to check whether error is 0 in the
> callback, but I don't want to do that if that's not what you intended
> API wise.
>
> Greetings,
>
> Andres Freund
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201004/3082cc45/attachment.html>


More information about the llvm-dev mailing list