[patch] Special case aliases in GlobalValue::getSection

Anton Korobeynikov anton at korobeynikov.info
Tue May 6 23:33:38 PDT 2014


+1

On Wed, May 7, 2014 at 2:44 AM, David Majnemer <david.majnemer at gmail.com> wrote:
> 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
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list