[patch] Special case aliases in GlobalValue::getSection

Reid Kleckner rnk at google.com
Tue May 6 09:54:49 PDT 2014

David, is this consistent with the new section IR design?  Will aliases
just have the section of the aliased global value?

On Tue, May 6, 2014 at 8:55 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> This is similar to the getAlignment patch, but is done just for
> completeness Looks like we never call getSection on an alias. All the
> tests still pass if I replace the if with an assert.
> Cheers,
> Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/86acdef6/attachment.html>

More information about the llvm-commits mailing list