[PATCH] D48538: Make __gcov_flush flush counters for all shared libraries

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 6 07:43:24 PDT 2018


uweigand added a comment.

It looks like this causes build bot failures on s390x-linux.  Three of the new tests fail:
http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/17143

  /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/projects/compiler-rt/test/profile/Inputs/instrprof-dlopen-dlclose-main.c.gcov:11:15: error: expected string not found in input
  // CHECK-NEXT:        1:    6:  dlerror();
                ^
  instrprof-dlopen-dlclose-main.c.gcov:11:1: note: scanning from here
  4294967296:    6:  dlerror();

This looks suspiciously like an endian problem somewhere, we get 4294967296 ==  0x1_0000_0000 instead of 0x0_0000_0001 ...
(s390x is a big-endian machine.)


Repository:
  rL LLVM

https://reviews.llvm.org/D48538





More information about the llvm-commits mailing list