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

Vasileios Kalintiris Vasileios.Kalintiris at imgtec.com
Mon Apr 20 05:33:15 PDT 2015


> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ias.patch
Type: text/x-patch
Size: 1062 bytes
Desc: ias.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150420/a89307cb/attachment.bin>


More information about the llvm-commits mailing list