[patch] Special case aliases in GlobalValue::getSection
rafael.espindola at gmail.com
Tue May 6 13:49:50 PDT 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1765 bytes
Desc: not available
More information about the llvm-commits