Line data Source code
1 1 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : /// \file 5 : /// Functions to enable handling segmentation faults 6 : 7 : #pragma once 8 : 9 : /// \ingroup ErrorHandlingGroup 10 : /// After a call to this function, the code will handle `SIGSEGV` segmentation 11 : /// faults by printing an error with a stacktrace. 12 1 : void enable_segfault_handler();