[patch] Special case aliases in GlobalValue::getSection
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
> 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
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits