[llvm] r235222 - Compute A-B if both A and B are in the same comdat section.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Apr 20 05:48:41 PDT 2015


And this was not handling local ifunc correctly.

I went with what is basically your patch in r235300. Let me know if
the bots complain about something else.

Thanks!
Rafael


On 20 April 2015 at 08:35, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> I am currently testing the attached patch.
>
> On 20 April 2015 at 08:33, Vasileios Kalintiris
> <Vasileios.Kalintiris at imgtec.com> wrote:
>>> What is the triple? What is the error? What is the corresponding gas output?
>>
>> The original triple was mips-mti-linux-gnu but the test case produces the same error with the x86_64-unknown-linux-gnu triple. The error was in comments in the attached file:
>>
>> $ clang -target x86_64-unknown-linux-gnu -c test.s
>> test.s:13:9: error: Cannot represent a difference across sections
>>              .4byte  ($c)-($func_begin0)
>>
>> I have attached a temporary patch that is working for me but I'm not familiar with this part of code.
>>
>> Thanks,
>> Vasileios




More information about the llvm-commits mailing list