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

            Bug ID: 29008
           Summary: Support the #line directive in source-based code
                    coverage
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: v...@apple.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Consider:

```
#line 42 "other.cpp"
int main() { return 0; }
```

The report currently looks like:

```
foo.c:
       |    1|#line 42 "other.cpp"
      1|    2|int main() { return 0; }
```

Use a sub-view to display the current filename and line number. On the clang
side, we need to include the right information from the #line directive in the
coverage mapping. Then we need to teach llvm-cov to display the sub-view.

-- 
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

Reply via email to