[patch] Special case aliases in GlobalValue::getSection

David Majnemer david.majnemer at gmail.com
Tue May 6 15:44:53 PDT 2014


This looks fine to me.


On Tue, May 6, 2014 at 1:49 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> On 6 May 2014 12:54, Reid Kleckner <rnk at google.com> wrote:
> > David, is this consistent with the new section IR design?  Will aliases
> just
> > have the section of the aliased global value?
>
> Note that we already require aliases to not have a section of their
> own. The patch simply makes getSection return something useful instead
> of always returning the empty string for aliases.
>
> A rebased patch is attached.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/fbc7b7af/attachment.html>


More information about the llvm-commits mailing list