[llvm] r264675 - [Coverage] Fix the expected counts in instrprof-comdat.h
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 15:10:40 PDT 2016
Author: vedantk
Date: Mon Mar 28 17:10:40 2016
New Revision: 264675
URL: http://llvm.org/viewvc/llvm-project?rev=264675&view=rev
Log:
[Coverage] Fix the expected counts in instrprof-comdat.h
Modified:
llvm/trunk/test/tools/llvm-cov/Inputs/instrprof-comdat.h
Modified: llvm/trunk/test/tools/llvm-cov/Inputs/instrprof-comdat.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/Inputs/instrprof-comdat.h?rev=264675&r1=264674&r2=264675&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/Inputs/instrprof-comdat.h (original)
+++ llvm/trunk/test/tools/llvm-cov/Inputs/instrprof-comdat.h Mon Mar 28 17:10:40 2016
@@ -13,14 +13,11 @@ template <class T> T FOO<T>::DoIt(T ti)
t += I; // HEADER: 20| [[@LINE]]| t += I;
if (I > ti / 2) // HEADER: 20| [[@LINE]]| if (I > ti
t -= 1; // HEADER: 8| [[@LINE]]| t -= 1;
- } // HEADER: {{.*}}| [[@LINE]]| }
- // HEADER: {{.*}}| [[@LINE]]|
- return t; // HEADER: {{.*}}| [[@LINE]]| return t;
+ } // HEADER: 20| [[@LINE]]| }
+ // HEADER: 2| [[@LINE]]|
+ return t; // HEADER: 2| [[@LINE]]| return t;
}
-// FIXME: Some check lines in this function were temporarily weakened to
-// simplify a bugfix.
-
// To generate the binaries which correspond to this file, you must first
// compile a program with two calls to Foo<int>::DoIt(10) for each desired
// architecture. Collect a raw profile from any one of these binaries, index
More information about the llvm-commits
mailing list