[llvm-dev] Wrongly passing struct pointer

Siddharth Shankar Swain via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 5 05:09:35 PDT 2017


Hi,
For a small struct pass by value is not a problem, but for larger struct
its a problem. Can anyone please refer
https://stackoverflow.com/questions/161788/are-there-any-downsides-to-passing-structs-by-value-in-c-rather-than-passing-a
2nd answer and the same problem occurs for our compiler. So can anyone
explain what is the problem and how it can be solved ?
sincerely,
Siddharth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170905/f87b20f8/attachment.html>


More information about the llvm-dev mailing list