1#include <stdint.h>
2#include <stdio.h>
3#include <string.h>
4#include <stdlib.h>
5int main() {
6 const int count = 65535;
7 int *array = (int*) malloc(size: sizeof (int) * count);
8 memset (s: array, c: 0, n: count * sizeof (int));
9
10 puts (s: "break here");
11
12 for (int i = 0; i < count - 16; i += 16)
13 array[i] += 10;
14
15 puts (s: "done, exiting.");
16}
17

source code of lldb/test/API/functionalities/watchpoint/large-watchpoint/main.c