[PATCH] D12263: Fix LLVM C API for DataLayout

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 17:39:47 PDT 2015


On Mon, Aug 24, 2015 at 5:23 PM Mehdi Amini via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

>
> > On Aug 24, 2015, at 3:56 PM, Eric Christopher <echristo at gmail.com>
> wrote:
> >
> > echristo added a comment.
> >
> > This is pretty terrible and gets into maintenance of the C API questions.
>
> Yes, definitively.
> We need to get this moving by the way!
>
>
Hey, I submitted my proposal for how we should do it. :)


> > That said, if you want to keep the API around for a bit why not just
> create a new one every time?
>
> Not sure I understand what you mean here?
>
>
<inserting IRC discussion about possibility of static variables etc>

This seems to be the least terrible way to do this, but I really don't like
it. This is fine as a workaround for now I guess though.

-eric



>
>> Mehdi
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150825/d5f66cfb/attachment.html>


More information about the llvm-commits mailing list