[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.
> 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,
>> 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
> Lerne, wie die Welt wirklich ist,
> aber vergiss niemals, wie sie sein sollte.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev