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 | 2bb551c6bf0275241feb054aef21412b07bc16cf (patch) | |
tree | 33f5111763d2c7bb5e1a0b0f38d7322c03a59d26 | |
parent | 45438161503f1688ed4af9ffda626b5c79454781 (diff) | |
download | bcm5719-llvm-2bb551c6bf0275241feb054aef21412b07bc16cf.tar.gz bcm5719-llvm-2bb551c6bf0275241feb054aef21412b07bc16cf.zip |
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.
llvm-svn: 336942
6 files changed, 6 insertions, 6 deletions
diff --git a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c index f2de3883535..9a56e497657 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c +++ b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c @@ -1 +1 @@ -void func(int K) { if (K) {} } +void func(int K) {} diff --git a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c.gcov b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c.gcov index 5c7c7f1ca93..3af4ec94a1b 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func.c.gcov +++ b/compiler-rt/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/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c index d4d93dc0b25..ab62f14952c 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c +++ b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c @@ -1 +1 @@ -void func2(int K) { if (K) {} } +void func2(int K) {} diff --git a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c.gcov b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c.gcov index 5bfcf6f1501..7101f74b938 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func2.c.gcov +++ b/compiler-rt/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/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c index 5785f46cc86..ec0dddb4527 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c +++ b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c @@ -1 +1 @@ -void func3(int K) { if (K) {} } +void func3(int K) {} diff --git a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c.gcov b/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c.gcov index 5bfcf6f1501..7101f74b938 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-dlopen-func3.c.gcov +++ b/compiler-rt/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) {} |