1struct Bar {
2 int c;
3 int d;
4};
5
6struct Foo {
7 int a;
8 struct Bar *b;
9};
10
11struct Foo *GetAFoo() {
12 static struct Foo f = { 0, 0 };
13 return &f;
14}
15
16int GetSum(struct Foo *f) {
17 return f->a + f->b->d;
18}
19
20int main() {
21 return GetSum(f: GetAFoo());
22}
23

source code of lldb/test/API/commands/frame/diagnose/dereference-argument/main.c