[llvm-dev] byval problem

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 2 17:33:51 PST 2020


It's become mandatory recently - I'm not sure if teh C API reflects or
supports this - might be some missing functionality & some out of date
documentation.

On Wed, Dec 2, 2020 at 4:46 PM Peter McKinna via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi,
>
>   I'm testing a patch compiling against head using the c interface and
> llc is complaining that the byval attribute doesn't have a type.
>
> A parameter used to have a type just by adding the attribute, now it
> doesn't.
>
> The lang ref seems to say the type is optional. This is confusing.
> Is the type mandatory now? And how do I add it?
>
> Any help would be appreciated.
>
> Regards Peter
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201202/6896e9dd/attachment.html>


More information about the llvm-dev mailing list