[patch] Verify that a GlobalAlias has no section or alignment.

Reid Kleckner rnk at google.com
Wed Feb 12 19:23:30 PST 2014


lgtm, assuming this passes an optimized build of something interesting.

Should we go further and assert(!isa<GlobalAlias>(this) || S.empty()); in
GlobalValue::setSection?


On Wed, Feb 12, 2014 at 6:58 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> An alias is always in the section of its aliasee and has the same
> alignment (since it has the same address).
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140212/477c1db3/attachment.html>


More information about the llvm-commits mailing list