1void crash() {
2 volatile int *a = (int *)(nullptr);
3 *a = 1;
4}
5
6extern "C" void _start();
7void InstallBreakpad();
8
9void _start() {
10 InstallBreakpad();
11 crash();
12}
13

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