diff options
author | Marco Castelluccio <mcastelluccio@mozilla.com> | 2018-07-12 20:28:09 +0000 |
---|---|---|
committer | Marco Castelluccio <mcastelluccio@mozilla.com> | 2018-07-12 20:28:09 +0000 |
commit | 0dafade8b6af4dbb9ad5bb37aee7f1379d779455 (patch) | |
tree | b59b235389afd7bea484e7c295d5739f831f6a69 /test | |
parent | 126d0f03504574c1c07be2405d4e3c08dd165b79 (diff) |
Simplify instrprof-dlopen-dlclose-gcov.test to avoid failures on Aarch64.
The test for a function with an if block in a single line (https://bugs.llvm.org/show_bug.cgi?id=38065) will be moved to a separate test.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/profile/Inputs/instrprof-dlopen-func.c | 2 | ||||
-rw-r--r-- | test/profile/Inputs/instrprof-dlopen-func.c.gcov | 2 | ||||
-rw-r--r-- | test/profile/Inputs/instrprof-dlopen-func2.c | 2 | ||||
-rw-r--r-- | test/profile/Inputs/instrprof-dlopen-func2.c.gcov | 2 | ||||
-rw-r--r-- | test/profile/Inputs/instrprof-dlopen-func3.c | 2 | ||||
-rw-r--r-- | test/profile/Inputs/instrprof-dlopen-func3.c.gcov | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/test/profile/Inputs/instrprof-dlopen-func.c b/test/profile/Inputs/instrprof-dlopen-func.c index f2de38835..9a56e4976 100644 --- a/test/profile/Inputs/instrprof-dlopen-func.c +++ b/test/profile/Inputs/instrprof-dlopen-func.c @@ -1 +1 @@ -void func(int K) { if (K) {} } +void func(int K) {} diff --git a/test/profile/Inputs/instrprof-dlopen-func.c.gcov b/test/profile/Inputs/instrprof-dlopen-func.c.gcov index 5c7c7f1ca..3af4ec94a 100644 --- a/test/profile/Inputs/instrprof-dlopen-func.c.gcov +++ b/test/profile/Inputs/instrprof-dlopen-func.c.gcov @@ -3,4 +3,4 @@ // CHECK-NEXT: -: 0:Data:instrprof-dlopen-func.gcda // CHECK-NEXT: -: 0:Runs:1 // CHECK-NEXT: -: 0:Programs:1 -// CHECK-NEXT: 3: 1:void func(int K) { if (K) {} } +// CHECK-NEXT: 1: 1:void func(int K) {} diff --git a/test/profile/Inputs/instrprof-dlopen-func2.c b/test/profile/Inputs/instrprof-dlopen-func2.c index d4d93dc0b..ab62f1495 100644 --- a/test/profile/Inputs/instrprof-dlopen-func2.c +++ b/test/profile/Inputs/instrprof-dlopen-func2.c @@ -1 +1 @@ -void func2(int K) { if (K) {} } +void func2(int K) {} diff --git a/test/profile/Inputs/instrprof-dlopen-func2.c.gcov b/test/profile/Inputs/instrprof-dlopen-func2.c.gcov index 5bfcf6f15..7101f74b9 100644 --- a/test/profile/Inputs/instrprof-dlopen-func2.c.gcov +++ b/test/profile/Inputs/instrprof-dlopen-func2.c.gcov @@ -3,4 +3,4 @@ // CHECK-NEXT: -: 0:Data:instrprof-dlopen-func2.gcda // CHECK-NEXT: -: 0:Runs:1 // CHECK-NEXT: -: 0:Programs:1 -// CHECK-NEXT: 3: 1:void func2(int K) { if (K) {} } +// CHECK-NEXT: 1: 1:void func2(int K) {} diff --git a/test/profile/Inputs/instrprof-dlopen-func3.c b/test/profile/Inputs/instrprof-dlopen-func3.c index 5785f46cc..ec0dddb45 100644 --- a/test/profile/Inputs/instrprof-dlopen-func3.c +++ b/test/profile/Inputs/instrprof-dlopen-func3.c @@ -1 +1 @@ -void func3(int K) { if (K) {} } +void func3(int K) {} diff --git a/test/profile/Inputs/instrprof-dlopen-func3.c.gcov b/test/profile/Inputs/instrprof-dlopen-func3.c.gcov index 5bfcf6f15..7101f74b9 100644 --- a/test/profile/Inputs/instrprof-dlopen-func3.c.gcov +++ b/test/profile/Inputs/instrprof-dlopen-func3.c.gcov @@ -3,4 +3,4 @@ // CHECK-NEXT: -: 0:Data:instrprof-dlopen-func2.gcda // CHECK-NEXT: -: 0:Runs:1 // CHECK-NEXT: -: 0:Programs:1 -// CHECK-NEXT: 3: 1:void func2(int K) { if (K) {} } +// CHECK-NEXT: 1: 1:void func2(int K) {} |