From cd8823fb873de3b212defd2ba23690c9c36cb045 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 9 Nov 2017 02:50:24 +0000 Subject: [PATCH] [llvm-cov] Fix more -path-equivalence test bugs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317764 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../llvm-cov/Inputs/deferred-regions.covmapping | Bin 900 -> 836 bytes .../Inputs/prefer_used_to_unused.covmapping | Bin 612 -> 268 bytes test/tools/llvm-cov/deferred-region.cpp | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/llvm-cov/Inputs/deferred-regions.covmapping b/test/tools/llvm-cov/Inputs/deferred-regions.covmapping index 6d7919eb8fa2e0a26d6732823fdfd21d677d2c52..750dd81aff2196b92b7b1c14c5c8df6445eb4619 100644 GIT binary patch delta 53 zcmZo+Kf*R4g;k1yfkAI#<`h;5{gT{*%?^wjOj1ltEDT)@4GkPj3|vesj0_BnjQ%`a HOhALEly?z1_oOocAl)r=)x+eUy@re Tc|D^Ps|=JSK3SQ`5u^wJQs)$J literal 612 zcmd1FDa%dHFUu`SEiOq(EJ+M&SlrkkAkPpVWoS^Gm|KvO>QFW9HViy(R!?zm`x1;S#u%j^TAW%`tY4O` zUtE-|p96HaUVc%!F3|C*MTzODx;dG7KtCjw6ocjTK_1dC$uT?Fvy`c~k=+Dy zyADvE3y47go7`cjxuAf?;ls$x!^Ff01gva~;Gkk;XW(IF;AL!W cXlUSIWdt&rfV^f9kBO0)5vZ1dkr5J>0C%ISjQ{`u diff --git a/test/tools/llvm-cov/deferred-region.cpp b/test/tools/llvm-cov/deferred-region.cpp index ae0b3154b1907..38090fbb49895 100644 --- a/test/tools/llvm-cov/deferred-region.cpp +++ b/test/tools/llvm-cov/deferred-region.cpp @@ -1,4 +1,4 @@ -// RUN: llvm-cov show %S/Inputs/deferred-regions.covmapping -instr-profile %S/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/Users/vk/src/llvm.org-coverage-braces/llvm/test/tools,%S/.. %s 2>%t.markers > %t.out && FileCheck %s -input-file %t.out && FileCheck %s -input-file %t.markers -check-prefix=MARKER +// RUN: llvm-cov show %S/Inputs/deferred-regions.covmapping -instr-profile %S/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/tmp,%S %s 2>%t.markers > %t.out && FileCheck %s -input-file %t.out && FileCheck %s -input-file %t.markers -check-prefix=MARKER void foo(int x) { if (x == 0) { // CHECK: [[@LINE]]|{{ +}}2|