[compiler-rt] r310015 - coverage: Update tests to reflect changes from r310012
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 18:22:19 PDT 2017
Author: vedantk
Date: Thu Aug 3 18:22:19 2017
New Revision: 310015
URL: http://llvm.org/viewvc/llvm-project?rev=310015&view=rev
Log:
coverage: Update tests to reflect changes from r310012
Modified:
compiler-rt/trunk/test/profile/Inputs/extern_template.h
compiler-rt/trunk/test/profile/Linux/coverage_test.cpp
Modified: compiler-rt/trunk/test/profile/Inputs/extern_template.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/extern_template.h?rev=310015&r1=310014&r2=310015&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/extern_template.h (original)
+++ compiler-rt/trunk/test/profile/Inputs/extern_template.h Thu Aug 3 18:22:19 2017
@@ -3,7 +3,7 @@ template <typename T> struct Test {
void doIt(int N) { // CHECK: [[@LINE]]| 2| void doIt
if (N > 10) { // CHECK: [[@LINE]]| 2| if (N > 10) {
M += 2; // CHECK: [[@LINE]]| 1| M += 2;
- } else // CHECK: [[@LINE]]| 1| } else
+ } else // CHECK: [[@LINE]]| 2| } else
M -= 2; // CHECK: [[@LINE]]| 1| M -= 2;
}
T M;
Modified: compiler-rt/trunk/test/profile/Linux/coverage_test.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/coverage_test.cpp?rev=310015&r1=310014&r2=310015&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/coverage_test.cpp (original)
+++ compiler-rt/trunk/test/profile/Linux/coverage_test.cpp Thu Aug 3 18:22:19 2017
@@ -19,7 +19,7 @@
void foo(bool cond) { // CHECK: [[@LINE]]| 1|void foo(
if (cond) { // CHECK: [[@LINE]]| 1| if (cond) {
- } // CHECK: [[@LINE]]| 0| }
+ } // CHECK: [[@LINE]]| 1| }
} // CHECK: [[@LINE]]| 1|}
void bar() { // CHECK: [[@LINE]]| 1|void bar() {
} // CHECK: [[@LINE]]| 1|}
More information about the llvm-commits
mailing list