This is a standalone version of libbacktrace.
libbacktrace prints stack traces.
libbacktrace was originally writen by Ian Lance Taylor as part of GCC.
Building libbacktrace requires CMake.
How to build with ninja:
mkdir build
cd build/
cmake -GNinja -DENABLE_LIBBACKTRACE_TEST=true path/to/libbacktrace/source
ninja
How to build with make:
mkdir build
cd build/
cmake -G'Unix Makefiles' -DENABLE_LIBBACKTRACE_TEST=true path/to/libbacktrace/source
make
How to run the tests:
ctest