1void InstallBreakpad();
2void WriteMinidump();
3
4int global = 42;
5
6int bar(int x) {
7 WriteMinidump();
8 int y = 4 * x + global;
9 return y;
10}
11
12int foo(int x) {
13 int y = 2 * bar(x: 3 * x);
14 return y;
15}
16
17extern "C" void _start();
18
19void _start() {
20 InstallBreakpad();
21 foo(x: 1);
22}
23

source code of lldb/test/API/functionalities/postmortem/minidump-new/linux-x86_64_not_crashed.cpp