[llvm-bugs] [Bug 35510] New: llvm-cov cannot handle relative paths

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 3 14:24:05 PST 2017


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

            Bug ID: 35510
           Summary: llvm-cov cannot handle relative paths
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: chfast at gmail.com
                CC: llvm-bugs at lists.llvm.org

If clang is invoked with relative paths it will also put relative paths in
*.gcno files. *.gcno files might not be in the same dir are source files.

Then, when making a report with "llvm-cov gcov" the tool will fail to locate
relative files, because it searches them relatively to the *.gcno file instead
of the source file.

-- 
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/20171203/13e4fe8e/attachment.html>


More information about the llvm-bugs mailing list