[libc-commits] [libc] [libc] Remove the optional arguments for NVPTX constructors (PR #69536)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Oct 18 17:16:29 PDT 2023


jhuber6 wrote:

> I'm not familiar enough with the conventions for calling the initializers. Added @MaskRay who'd have a better idea.

I think @AaronBallman was also working with this recently. Basically there's an optional form that `glibc` and some others use that allow passing the arugments to `main` to the constructor. But the standard version is no arguments. The problem is that NVPTX needs to have the signature matching exactly so we apparently can't support the extended form.

https://github.com/llvm/llvm-project/pull/69536


More information about the libc-commits mailing list