diff options
author | Vedant Kumar <vsk@apple.com> | 2017-09-19 00:15:18 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-09-19 00:15:18 +0000 |
commit | 7bd22ca122d1a8289eda6962827e9ed1c1786577 (patch) | |
tree | c47438a4f35da1e088d6eccdfed70b7193dd96fb /test/profile | |
parent | 3b5c45da8b49e39df007e092eba9abbb2f93c6bd (diff) |
[profile] Update Linux-only tests after r313597
Addresses bot failure:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/9803
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile')
-rw-r--r-- | test/profile/Inputs/extern_template.h | 2 | ||||
-rw-r--r-- | test/profile/Linux/coverage_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/profile/Inputs/extern_template.h b/test/profile/Inputs/extern_template.h index d08592da0..aa59f6c1e 100644 --- a/test/profile/Inputs/extern_template.h +++ b/test/profile/Inputs/extern_template.h @@ -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; diff --git a/test/profile/Linux/coverage_test.cpp b/test/profile/Linux/coverage_test.cpp index e636e5559..67adeb724 100644 --- a/test/profile/Linux/coverage_test.cpp +++ b/test/profile/Linux/coverage_test.cpp @@ -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|} |