[llvm] r247920 - Temporarily fix gcov failures in big-endian hosts.
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 13:02:34 PDT 2015
On Thu, Sep 17, 2015 at 12:09 PM, Diego Novillo via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
>
> I've applied a temporary fix by xfailing the test for big endian hosts.
> I'll look at making the gcov reader endian-agnostic (though I'm not sure
> how useful this is).
>
Why would it not be useful? (not that I know much about this stuff - but I
assume the reader is used for processing the profiling information &
feeding it into the compiler - no reason the host of the compiler would
have the same endianness as the target of the build)
>
> Diego.
>
> On Thu, Sep 17, 2015 at 3:05 PM, Diego Novillo via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> Author: dnovillo
>> Date: Thu Sep 17 14:05:48 2015
>> New Revision: 247920
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=247920&view=rev
>> Log:
>> Temporarily fix gcov failures in big-endian hosts.
>>
>> This test uses a gcov file generated in a little-endian host. The gcov
>> reader does not allow different endianness, so the test fails on big
>> endian hosts.
>>
>> XFAILing for now.
>>
>> Modified:
>> llvm/trunk/test/Transforms/SampleProfile/gcc-simple.ll
>>
>> Modified: llvm/trunk/test/Transforms/SampleProfile/gcc-simple.ll
>> URL:
>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SampleProfile/gcc-simple.ll?rev=247920&r1=247919&r2=247920&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/test/Transforms/SampleProfile/gcc-simple.ll (original)
>> +++ llvm/trunk/test/Transforms/SampleProfile/gcc-simple.ll Thu Sep 17
>> 14:05:48 2015
>> @@ -1,5 +1,5 @@
>> ; RUN: opt < %s -sample-profile
>> -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileCheck %s
>> -;
>> +; XFAIL: powerpc64-, s390x, mips-, mips64-, sparc
>> ; Original code:
>> ;
>> ; #include <stdlib.h>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150917/9e97fefb/attachment.html>
More information about the llvm-commits
mailing list