https://llvm.org/bugs/show_bug.cgi?id=28769
Bug ID: 28769 Summary: Coverage data includes call to __cxx_global_array_dtor Product: clang Version: 3.9 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: C++ Assignee: unassignedclangb...@nondot.org Reporter: llvm.flamef...@spamgourmet.com CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16834 --> https://llvm.org/bugs/attachment.cgi?id=16834&action=edit GCOV file I was using clang++ with the --coverage flag to generate coverage data on a larger project (https://github.com/Return-To-The-Roots/s25client) However I see an completely unexpected call to "__cxx_global_array_dtor" in the gcno file which should not be there and leads to false positives. The line I've seen this is this one: https://github.com/Return-To-The-Roots/s25client/blob/14796d1cb7423a87f9698001db650fa6262ae4ee/src/ingameWindows/iwPostWindow.cpp#L69 A line that is almost the same as the surrounding ones, but the only one that got that call attributed. I was not able to create a mini-example with this behaviour as clang coverage works in almost all other cases, especially trivial ones. I attach the raw gcov file (llvm-cov gcov <gcda file> --dump), just search for "__cxx_global_array_dtor" -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs