llvm/lldb/test/API/functionalities/postmortem/minidump-new/linux-x86_64.cpp

void crash() {
  volatile int *a = (int *)(nullptr);
  *a = 1;
}

extern "C" void _start();
void InstallBreakpad();

void _start() {
  InstallBreakpad();
  crash();
}