[Coverage] Fix the expected counts in instrprof-comdat.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vedant Kumar 2016-03-28 22:10:40 +00:00
parent 52488aeab7
commit 31933c9126

View File

@ -13,14 +13,11 @@ template <class T> T FOO<T>::DoIt(T ti) { // HEADER: 2| [[@LINE]]|template
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