small refactor

This commit is contained in:
2026-02-28 17:57:24 +01:00
parent 3f71603961
commit ce05dd504a
37 changed files with 4393 additions and 3681 deletions

View File

@ -2,14 +2,14 @@
//
// On GNU/Linux, you have few choices to get the most out of your stack trace.
//
// By default you get:
// - object filename
// - function name
// By default, you get:
// - object filename
// - function name
//
// In order to add:
// - source filename
// - line and column numbers
// - source code snippet (assuming the file is accessible)
// - source filename
// - line and column numbers
// - source code snippet (assuming the file is accessible)
// Install one of the following libraries then uncomment one of the macro (or
// better, add the detection of the lib and the macro definition in your build
@ -33,16 +33,13 @@
// - g++/clang++ -lunwind
// #define BACKWARD_HAS_LIBUNWIND 1
#include "config.hpp"
#ifdef BACKWARD
#include "backward.hpp"
namespace backward {
backward::SignalHandling sh;
#include "backward.hpp"
namespace backward
{
SignalHandling sh;
} // namespace backward
#endif