[llvm-dev] Opaque Pointers Help Wanted

Arthur Eubanks via llvm-dev llvm-dev at lists.llvm.org
Tue Jun 22 08:59:59 PDT 2021

I haven't looked at the C API closely, but of course we will need to make
sure the C API is covered. Looks like there's already been some work, e.g.
https://reviews.llvm.org/D56559, but there may be more to do. The opaque
pointers work left to do list isn't exhaustive, it's mostly a list of
random things that I've thought of/noticed and deemed worthy to put on a
list. But anybody can go ahead and update the list. The important part is
that we end up removing all calls to get a pointer type's pointee type.

On Tue, Jun 22, 2021 at 1:07 AM Nicolai Hähnle <nhaehnle at gmail.com> wrote:

> Hi Arthur,
> What's the status of the C API? I don't see any mention of it in the
> transition plan.
> Cheers,
> Nicolai
> On Mon, Jun 21, 2021 at 6:03 PM Arthur Eubanks via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>> For the opaque pointers project,
>> https://llvm.org/docs/OpaquePointers.html#transition-plan contains high
>> level steps for what to do before we can enable opaque pointers. (Looks
>> like the page hasn't been rebuilt in a while,
>> https://github.com/llvm/llvm-project/blob/main/llvm/docs/OpaquePointers.rst#transition-plan
>> contains some more concrete steps)
>> Essentially almost all of the work boils down to figuring out how to
>> remove calls to `PointerType::getElementType()` and
>> `Type::getPointerElementType()`. Everything else derives from that.
>> Any help with this is welcome and appreciated!
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> --
> Lerne, wie die Welt wirklich ist,
> aber vergiss niemals, wie sie sein sollte.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210622/aadf9e9f/attachment.html>

More information about the llvm-dev mailing list