mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[llvm-cov] Fix missing slash in -path-equivalence
This commit is contained in:
parent
7acee7fe26
commit
f88097c935
@ -399,9 +399,9 @@ void CodeCoverageTool::remapPathNames(const CoverageMapping &Coverage) {
|
||||
return "";
|
||||
SmallString<128> NativePath;
|
||||
sys::path::native(Path, NativePath);
|
||||
sys::path::remove_dots(NativePath, true);
|
||||
if (!sys::path::is_separator(NativePath.back()))
|
||||
NativePath += sys::path::get_separator();
|
||||
sys::path::remove_dots(NativePath, true);
|
||||
return NativePath.c_str();
|
||||
};
|
||||
std::string RemapFrom = nativeWithTrailing(PathRemapping->first);
|
||||
|
Loading…
Reference in New Issue
Block a user