<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 5, 2014 at 2:20 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> I was hoping we'd say which section the alias would end up in here -- the<br>
> requested section should be obvious from the snippet.<br>
<br>
</div>Not necessarily. For example:<br>
<div class=""><br>
>> +void test3_bar() { }<br>
>> +void test3_foo() __attribute__((section("test"))); // expected-warning<br>
>> {{alias will not be in section 'test' but in the same section as the<br>
>> aliasee}}<br>
>> +void test3_foo() __attribute__((alias("test3_bar")));<br>
<br>
</div>In here the aliasee has no explicit section, so we will only know it<br>
during llvm's codegen.</blockquote><div><br></div><div>In this case, it'd be nice to say that the aliasee has no explicit section attribute. </div></div></div></div>