[llvm-dev] Passing structs in C calling convention

Paweł Bylica via llvm-dev llvm-dev at lists.llvm.org
Fri May 6 04:32:45 PDT 2016


Hi,

I want to declare a function that matches C ABI. Do I need to transform
declarations like void @f(%struct.A %a) into void @f(%struct.A* byval %a)
myself or LLVM can do it for me? Is this what "ccc" calling convention
means?

- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160506/e8dbfa09/attachment.html>


More information about the llvm-dev mailing list