[patch] Special case aliases in GlobalValue::getSection

Rafael EspĂ­ndola 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.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/28f02a40/attachment.obj>


More information about the llvm-commits mailing list