ant backend build configuration invokes lcov for all compilers

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 5.0.42rc1, 6.0.27rc1, 6.4.12rc1, 7.0.0beta1
    • Component/s: None
    • None
    • Environment:
    • S24-W34/35, S24-W38/39, S25-W38/39
    • 1

      lcov is a graphical front-end application to gcov, a code coverage generating utility intended to work with the gcc suite of tools. When compiling and generating test code coverage data with the clang/llvm tool suite, the output data format and versions are incompatible, leading to a failure in generating code coverage reports, as in backend-cmocka build #1089.

      In the clang/llvm case, the llvm-cov utility, along with supporting report formats, allows working in gcov compatibility mode and produces gcov format output.

      What projects generally appear to do is install a wrapper for gcov, which tests for the compiler in use, and passes arguments to the correct utility, or just llvm-cov in gcov mode, if it is available.

            Assignee:
            Artjoms Rimdjonoks
            Reporter:
            Juris Lambda (Inactive)
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2h
                2h