[llvm-bugs] [Bug 26560] New: FAIL: Profile :: Linux/coverage_ctors.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 10 05:20:01 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26560

            Bug ID: 26560
           Summary: FAIL: Profile :: Linux/coverage_ctors.cpp
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: davidxl at google.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

On Linux/x86, I got

FAIL: Profile :: Linux/coverage_dtor.cpp (25980 of 26369)
FAIL: Profile :: Linux/coverage_ctors.cpp (25981 of 26369)
FAIL: Profile :: Linux/coverage_test.cpp (25983 of 26369)

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: Profile :: Linux/coverage_dtor.cpp (25980 of 26369)
******************** TEST 'Profile :: Linux/coverage_dtor.cpp' FAILED
********************
Script:
--
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/./bin/clang 
-ldl -x c++ -fno-exceptions  -std=c++11 -fuse-ld=gold -fprofile-instr-generate
-fcoverage-mapping -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_dtor.cpp
env
LLVM_PROFILE_FILE=/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp.profraw

/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp
llvm-profdata merge -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp.profdata
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp.profraw
llvm-cov show
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp
-instr-profile
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_dtor.cpp.tmp.profdata
-filename-equivalence 2>&1 | FileCheck
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_dtor.cpp
--
Exit Code: 1

Command Output (stderr):
--
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_dtor.cpp:24:22:
error: expected string not found in input
 return 1; // CHECK: 0| [[@LINE]]| return 1;
                     ^
<stdin>:17:31: note: scanning from here
 2| 15| ~Derived() = default; // CHECK: 2| [[@LINE]]| ~Derived() = default;
                              ^
<stdin>:17:31: note: with expression "@LINE" equal to "24"
 2| 15| ~Derived() = default; // CHECK: 2| [[@LINE]]| ~Derived() = default;
                              ^
<stdin>:26:2: note: possible intended match here
 | 24| return 1; // CHECK: 0| [[@LINE]]| return 1;
 ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: Profile :: Linux/coverage_ctors.cpp (25981 of 26369)
******************** TEST 'Profile :: Linux/coverage_ctors.cpp' FAILED
********************
Script:
--
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/./bin/clang 
-ldl  -fprofile-instr-generate -x c++  -std=c++11 -fuse-ld=gold
-fcoverage-mapping -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_ctors.cpp
env
LLVM_PROFILE_FILE=/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp.profraw

/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp
llvm-profdata merge -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp.profdata
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp.profraw
llvm-cov show
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp
-instr-profile
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_ctors.cpp.tmp.profdata
-filename-equivalence 2>&1 | FileCheck
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_ctors.cpp
--
Exit Code: 1

Command Output (stderr):
--
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_ctors.cpp:18:48:
error: expected string not found in input
 Derived(const Derived &) = default; // CHECK: 2| [[@LINE]]| Derived(const
Derived &) = default;
                                               ^
<stdin>:1:1: note: scanning from here
warning: 1 functions have mismatched data. 
^
<stdin>:1:1: note: with expression "@LINE" equal to "18"
warning: 1 functions have mismatched data. 
^
<stdin>:20:67: note: possible intended match here
 1| 18| Derived(const Derived &) = default; // CHECK: 2| [[@LINE]]|
Derived(const Derived &) = default;
                                                                  ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: Profile :: Linux/coverage_test.cpp (25983 of 26369)
******************** TEST 'Profile :: Linux/coverage_test.cpp' FAILED
********************
Script:
--
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/./bin/clang 
-ldl  -fprofile-instr-generate -fuse-ld=gold -O2 -fdata-sections
-ffunction-sections -fprofile-instr-generate -fcoverage-mapping
-Wl,--gc-sections -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_test.cpp
env
LLVM_PROFILE_FILE=/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.profraw

/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp
llvm-profdata merge -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.profdata
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.profraw
llvm-cov show
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp
-instr-profile
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.profdata
-filename-equivalence 2>&1 | FileCheck
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_test.cpp
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/./bin/clang 
-ldl  -fprofile-instr-generate -fuse-ld=gold -O2 -fdata-sections
-ffunction-sections -fPIE -pie -fprofile-instr-generate -fcoverage-mapping
-Wl,--gc-sections -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_test.cpp
env
LLVM_PROFILE_FILE=/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie.profraw

/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie
llvm-profdata merge -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie.profdata
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie.profraw
llvm-cov show
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie
-instr-profile
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/projects/compiler-rt/test/profile/Linux/Output/coverage_test.cpp.tmp.pie.profdata
-filename-equivalence 2>&1 | FileCheck
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_test.cpp
--
Exit Code: 1

Command Output (stderr):
--
/export/gnu/import/git/llvm/projects/compiler-rt/test/profile/Linux/coverage_test.cpp:15:24:
error: expected string not found in input
void bar() { // CHECK: 1| [[@LINE]]|void bar() {
                       ^
<stdin>:16:10: note: scanning from here
 1| 14|} // CHECK: 1| [[@LINE]]|}
         ^
<stdin>:16:10: note: with expression "@LINE" equal to "15"
 1| 14|} // CHECK: 1| [[@LINE]]|}
         ^
<stdin>:17:37: note: possible intended match here
 | 15|void bar() { // CHECK: 1| [[@LINE]]|void bar() {
                                    ^

Is there a 32-bit host bug?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160210/86318e02/attachment.html>


More information about the llvm-bugs mailing list