[llvm-bugs] [Bug 34922] New: llvm-cov gcov on Windows fails with "function identifiers do not match" with simple test case using templates

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 12 03:17:45 PDT 2017


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

            Bug ID: 34922
           Summary: llvm-cov gcov on Windows fails with "function
                    identifiers do not match" with simple test case using
                    templates
           Product: new-bugs
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mcastelluccio at mozilla.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19265
  --> https://bugs.llvm.org/attachment.cgi?id=19265&action=edit
main.cpp

llvm-cov is failing with:
"Function identifiers do not match: 10 != 2573 (in
??1?$Ciao at V?$basic_string at _WU?$char_traits at _W@std@@V?$allocator at _W@2@@std@@@@QAE at XZ).
Invalid .gcda File!"

on the attached test case.

Simply run:
clang-cl --coverage -Od main.cpp
./main
llvm-cov gcov main.gcda

-- 
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/20171012/340a4076/attachment.html>


More information about the llvm-bugs mailing list