1#include <stdio.h>
2#include <stdint.h>
3
4uint64_t pad0 = 0;
5uint8_t byteArray[4] = {0};
6uint64_t pad1 = 0;
7
8int main(int argc, char** argv) {
9
10 int i;
11
12 for (i = 0; i < 4; i++)
13 {
14 printf(format: "About to write byteArray[%d] ...\n", i); // About to write byteArray
15 pad0++;
16 byteArray[i] = 7;
17 pad1++;
18 }
19
20 return 0;
21}
22

source code of lldb/test/API/commands/watchpoints/multi_watchpoint_slots/main.c