[llvm-dev] OrcV1 removal

Lang Hames via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 30 21:31:33 PDT 2020


Hi Andres,

> I just checked and I've migrated ObjectLinkingLayer to support
> > ResourceTracker, but not RTDyldObjectLinkingLayer yet. If you're testing
> on
> > Linux there's a good chance that's the source of your leak. I'll get that
> > updated tonight.
> I indeed am testing on linux... Thanks.


I've taken a first shot at hooking RTDyldObjectLinkingLayer up to the
ResourceTracker API in 7436b2ab2428. Could you let me know whether that
fixes the leak you were seeing?

-- Lang.

On Wed, Sep 30, 2020 at 7:10 PM Andres Freund <andres at anarazel.de> wrote:

> Hi,
>
> On 2020-09-30 19:00:45 -0700, Lang Hames wrote:
> > Ok -- I'll make getting the new lookup API working a priority then.
>
> Cool.
>
>
> > > I see a memory leak with OrcV2 that I didn't see with V1. I'm not yet
> > > sure where exactly they're coming from. Possible that I'm just missing
> a
> > > step somewhere. Or something around the removable code support doesn't
> > > yet fully work.
> >
> > I just checked and I've migrated ObjectLinkingLayer to support
> > ResourceTracker, but not RTDyldObjectLinkingLayer yet. If you're testing
> on
> > Linux there's a good chance that's the source of your leak. I'll get that
> > updated tonight.
>
> I indeed am testing on linux... Thanks.
>
> Regards,
>
> Andres
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200930/0cf00d44/attachment.html>


More information about the llvm-dev mailing list