[PATCH] D51620: [gcov] Fix the switch tests

calixte via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 04:06:15 PDT 2018


calixte created this revision.
calixte added a reviewer: marco-c.
Herald added subscribers: Sanitizers, llvm-commits, delcypher.

- this patch is a follow-up of https://reviews.llvm.org/D51619


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D51620

Files:
  test/profile/Inputs/instrprof-gcov-switch1.c.gcov
  test/profile/Inputs/instrprof-gcov-switch2.c.gcov


Index: test/profile/Inputs/instrprof-gcov-switch2.c.gcov
===================================================================
--- test/profile/Inputs/instrprof-gcov-switch2.c.gcov
+++ test/profile/Inputs/instrprof-gcov-switch2.c.gcov
@@ -5,9 +5,9 @@
 // CHECK-NEXT:        -:    0:Programs:1
 // CHECK-NEXT:        -:    1:int main(void)
 // CHECK-NEXT:        -:    2:{
-// CHECK-NEXT:        3:    3:  int i = 22;
+// CHECK-NEXT:        1:    3:  int i = 22;
 // CHECK-NEXT:        -:    4:
-// CHECK-NEXT:        3:    5:  switch (i) {
+// CHECK-NEXT:        1:    5:  switch (i) {
 // CHECK-NEXT:        -:    6:    case 7:
 // CHECK-NEXT:    #####:    7:      break;
 // CHECK-NEXT:        -:    8:
Index: test/profile/Inputs/instrprof-gcov-switch1.c.gcov
===================================================================
--- test/profile/Inputs/instrprof-gcov-switch1.c.gcov
+++ test/profile/Inputs/instrprof-gcov-switch1.c.gcov
@@ -5,9 +5,9 @@
 // CHECK-NEXT:        -:    0:Programs:1
 // CHECK-NEXT:        -:    1:int main(void)
 // CHECK-NEXT:        -:    2:{
-// CHECK-NEXT:        2:    3:  int i = 22;
+// CHECK-NEXT:        1:    3:  int i = 22;
 // CHECK-NEXT:        -:    4:
-// CHECK-NEXT:        2:    5:  switch (i) {
+// CHECK-NEXT:        1:    5:  switch (i) {
 // CHECK-NEXT:        -:    6:    case 7:
 // CHECK-NEXT:    #####:    7:      break;
 // CHECK-NEXT:        -:    8:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51620.163782.patch
Type: text/x-patch
Size: 1406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180904/e4c8e737/attachment.bin>


More information about the llvm-commits mailing list