<div dir="ltr"><div>OK,<br><br></div>Can you explain me the larger picture here ? I can probably come up with something. Being able to specify attributes on return value is important to me, and I can't use the C++ API.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-30 11:36 GMT-07:00 Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I'm not excited to add new APIs that use LLVMAttribute.  See this comment from the end of the enum in Core.h:<div><div>    /* FIXME: These attributes are currently not included in the C API as</div><div>


       a temporary measure until the API/ABI impact to the C API is understood</div><div>       and the path forward agreed upon.</div></div><div><div>    LLVMAddressSafety = 1ULL << 32,</div><div>    LLVMStackProtectStrongAttribute = 1ULL<<33,</div>


<div>    LLVMCold = 1ULL << 34,</div><div>    LLVMOptimizeNone = 1ULL << 35,</div><div>    LLVMInAllocaAttribute = 1ULL << 36,</div><div>    LLVMNonNullAttribute = 1ULL << 37,</div><div>    LLVMJumpTableAttribute = 1ULL << 38,</div>


<div>    */</div></div><div><br></div><div>We haven't addressed this for over a year.</div><div><br></div><div>If you're interested in fleshing out the C API attribute support, do you mind proposing something that solves this problem?</div>


<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jun 30, 2014 at 11:24 AM, deadal nix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Pong \o/<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2014-06-26 22:00 GMT-07:00 deadal nix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span>:<div>
<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ping ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-24 16:02 GMT-07:00 deadal nix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span>:<div>




<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ping !<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-20 18:39 GMT-07:00 deadal nix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span>:<div>





<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ping ping ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-17 19:11 GMT-07:00 deadal nix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span>:<div>






<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ping ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-14 23:47 GMT-07:00 deadal nix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span>:<div>







<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As per title. Right now, the API do not provide any way to set attributes for return values of function.<br>








</div>
</blockquote></div></div><br></div>
</blockquote></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div></div><br></div>
<br></div></div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>