Skip to content

Commit ce02357

Browse files
[llvm-profdata] Make tests more readable (NFC)
This patch splits a couple of lines of printf into four for readability so that each corresponds to one field or padding. They correspond to NumCounters, NumValueSites, NumBitmapBytes, and padding, respectively.
1 parent bc8c4bb commit ce02357

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

llvm/test/tools/llvm-profdata/raw-64-bits-be.test

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ RUN: printf '\0\0\0\1\0\4\0\0' >> %t
1919
RUN: printf '\0\0\0\3\0\4\0\0' >> %t
2020
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
2121
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
22-
RUN: printf '\0\0\0\1\0\0\0\0' >> %t
23-
RUN: printf '\0\0\0\3\0\0\0\0' >> %t
22+
RUN: printf '\0\0\0\1' >> %t
23+
RUN: printf '\0\0\0\0' >> %t
24+
RUN: printf '\0\0\0\3' >> %t
25+
RUN: printf '\0\0\0\0' >> %t
2426

2527
RUN: printf '\344\023\165\112\031\035\265\067' >> %t
2628
RUN: printf '\0\0\0\0\0\0\0\02' >> %t
2729
RUN: printf '\0\0\0\1\0\3\xff\xc8' >> %t
2830
RUN: printf '\0\0\0\3\0\3\xff\xc3' >> %t
2931
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
3032
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
31-
RUN: printf '\0\0\0\02\0\0\0\0' >> %t
32-
RUN: printf '\0\0\0\1\0\0\0\0' >> %t
33+
RUN: printf '\0\0\0\02' >> %t
34+
RUN: printf '\0\0\0\0' >> %t
35+
RUN: printf '\0\0\0\1' >> %t
36+
RUN: printf '\0\0\0\0' >> %t
3337

3438
RUN: printf '\0\0\0\0\0\0\0\023' >> %t
3539
RUN: printf '\0\0\0\0\0\0\0\067' >> %t

0 commit comments

Comments
 (0)