Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
crash-handler.hh
1#pragma once
3/*
4 * Author's note: This will probably be partially/fully supplanted by a
5 * minidump writer like the following once we get our act together on crashes a
6 * little bit more:
7 * https://github.com/rust-minidump/minidump-writer
8 * https://github.com/EmbarkStudios/crash-handling
9 * (out of process implementation *should* be able to be done on-demand)
10 *
11 * Such an out-of-process implementation could then both make minidumps and
12 * print stack traces for arbitrarily messed-up process states such that we can
13 * safely give out backtraces for SIGSEGV and other deadly signals.
14 */
15
16namespace nix {
17
19void registerCrashHandler();
20
21}