diff options
author | Vedant Kumar <vsk@apple.com> | 2016-03-28 22:10:40 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-03-28 22:10:40 +0000 |
commit | 32ca438c577a8b9687d970cb46c1df877ae6e459 (patch) | |
tree | 00e2db07f66dc4041fc0324898b559dcffb19c74 /llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h | |
parent | 53f9ae288a71decc991773b8ac08bf17ba783335 (diff) | |
download | bcm5719-llvm-32ca438c577a8b9687d970cb46c1df877ae6e459.tar.gz bcm5719-llvm-32ca438c577a8b9687d970cb46c1df877ae6e459.zip |
[Coverage] Fix the expected counts in instrprof-comdat.h
llvm-svn: 264675
Diffstat (limited to 'llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h')
-rw-r--r-- | llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h b/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h index 46e73b40169..a701504e34b 100644 --- a/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h +++ b/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h @@ -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 |