[PATCH] D23922: [llvm-cov] Use the native path in the coverage report.
Ying Yi via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 26 08:19:26 PDT 2016
MaggieYi created this revision.
MaggieYi added reviewers: vsk, davidxl, bogner.
MaggieYi added a subscriber: llvm-commits.
This patch is spin-off from https://reviews.llvm.org/D23345.
The coverage reports contain the source or binary file paths. On Windows, the file path might contain the separators of both '/' and '\'.
This patch uses the native path in the coverage reports. For example, on Windows, all '/' are converted to '\'.
https://reviews.llvm.org/D23922
Files:
test/tools/llvm-cov/Inputs/native_separators.covmapping
test/tools/llvm-cov/Inputs/native_separators.proftext
test/tools/llvm-cov/double_dots.c
test/tools/llvm-cov/native_separators.c
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-cov/SourceCoverageView.cpp
tools/llvm-cov/SourceCoverageViewHTML.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23922.69375.patch
Type: text/x-patch
Size: 4687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160826/3275f5c8/attachment.bin>
More information about the llvm-commits
mailing list