[compiler-rt] r313602 - [profile] Update Linux-only tests after r313597
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 18 17:15:18 PDT 2017
Author: vedantk
Date: Mon Sep 18 17:15:18 2017
New Revision: 313602
URL: http://llvm.org/viewvc/llvm-project?rev=313602&view=rev
Log:
[profile] Update Linux-only tests after r313597
Addresses bot failure:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/9803
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=313602&r1=313601&r2=313602&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/extern_template.h (original)
+++ compiler-rt/trunk/test/profile/Inputs/extern_template.h Mon Sep 18 17:15:18 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]]| 2| } else
+ } else // CHECK: [[@LINE]]| 1| } 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=313602&r1=313601&r2=313602&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/coverage_test.cpp (original)
+++ compiler-rt/trunk/test/profile/Linux/coverage_test.cpp Mon Sep 18 17:15:18 2017
@@ -19,7 +19,7 @@
void foo(bool cond) { // CHECK: [[@LINE]]| 1|void foo(
if (cond) { // CHECK: [[@LINE]]| 1| if (cond) {
- } // CHECK: [[@LINE]]| 1| }
+ } // CHECK: [[@LINE]]| 0| }
} // CHECK: [[@LINE]]| 1|}
void bar() { // CHECK: [[@LINE]]| 1|void bar() {
} // CHECK: [[@LINE]]| 1|}
More information about the llvm-commits
mailing list