; RUN: rm -rf %t && mkdir -p %t
; RUN: echo '!19 = !{!"%/t/exit-block.ll", !0}' > %t/1
; RUN: cat %s %t/1 > %t/2
+; XFAIL: host-byteorder-big-endian
; By default, the exit block is the second.
; RUN: opt -insert-gcov-profiling -disable-output %t/2
; Test that GCOV instrumentation numbers functions correctly when some
; functions aren't emitted.
+; XFAIL: host-byteorder-big-endian
; Inject metadata to set the .gcno file location
; RUN: rm -rf %t && mkdir -p %t
; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileCheck %s
; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileCheck %s
-; XFAIL: host-byteorder-big-endian
+;
; Original code:
;
; #include <stdlib.h>
; format profile.
; It is expected to fail on certain architectures as gcc profile reader does
; not work.
-; XFAIL: host-byteorder-big-endian
define void @test(void ()*) #0 !dbg !3 {
%2 = alloca void ()*
// HEADER-NEXT: -: 0:Runs:1{{$}}
// HEADER-NEXT: -: 0:Programs:1
// HEADER-NEXT: -: 1:/// Test that llvm-cov
-
-// XFAIL: host-byteorder-big-endian
// HEADER-NEXT: -: 0:Runs:1{{$}}
// HEADER-NEXT: -: 0:Programs:1
// HEADER-NEXT: -: 1:/// Test that llvm-cov
-
-// XFAIL: host-byteorder-big-endian
// HEADER-NEXT: -: 0:Data:gcov-9.gcda
// HEADER-NEXT: -: 0:Runs:1{{$}}
// HEADER-NEXT: -: 1:/// Test that llvm-cov
-
-// XFAIL: host-byteorder-big-endian
The input gcov file has been generated on a little endian machine. Expect
failures on big endian systems.
-XFAIL: host-byteorder-big-endian
-
Tests for sample profiles encoded in GCC's gcov format.
1- Show all functions. This profile has a single main() function with several