[llvm] r247920 - Temporarily fix gcov failures in big-endian hosts.

Diego Novillo via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 12:09:03 PDT 2015


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).

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150917/56c3a5f5/attachment.html>


More information about the llvm-commits mailing list