summaryrefslogtreecommitdiffstats
path: root/llvm/tools/sancov/sancov.cc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/sancov/sancov.cc')
-rw-r--r--llvm/tools/sancov/sancov.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/sancov/sancov.cc b/llvm/tools/sancov/sancov.cc
index 3513d1e6e22..d7ce120c7e2 100644
--- a/llvm/tools/sancov/sancov.cc
+++ b/llvm/tools/sancov/sancov.cc
@@ -1079,8 +1079,7 @@ merge(const std::vector<std::unique_ptr<SymbolizedCoverage>> &Coverages) {
std::string Prefix;
if (Coverages.size() > 1) {
// prefix is not needed when there's only one file.
- Prefix =
- (Coverage.BinaryHash.size() ? Coverage.BinaryHash : utostr(I)) + ":";
+ Prefix = utostr(I);
}
for (const auto &Id : Coverage.CoveredIds) {
OpenPOWER on IntegriCloud