A C library that may be linked into a C/C++ program to produce symbolic backtraces
Go to file
Than McIntosh ee9cd27e5e Restore functionality of 'install' target. (#10)
Previous change (update from gcc trunk) broke 'make install'; this
corrects the problem.
2018-01-15 12:06:55 -08:00
LICENSE libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
Makefile.am Restore functionality of 'install' target. (#10) 2018-01-15 12:06:55 -08:00
Makefile.in Restore functionality of 'install' target. (#10) 2018-01-15 12:06:55 -08:00
README.md README: correct link to C++ unwind API 2017-05-29 11:48:14 -07:00
acinclude.m4 Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
aclocal.m4 Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
alloc.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
atomic.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
backtrace-supported.h.in all: remove meaningless trailing whitespace 2016-09-11 06:45:37 -07:00
backtrace.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
backtrace.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
btest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
config.guess libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
config.h.in libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
config.sub libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
configure Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
configure.ac Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
dwarf.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
edtest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
edtest2.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
elf.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
fileline.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
filenames.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
filetype.awk libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
install-sh libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
internal.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
ltmain.sh Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
missing libbacktrace: initial commit 2016-09-10 07:59:09 -07:00
mmap.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
mmapio.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
move-if-change Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
nounwind.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
pecoff.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
posix.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
print.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
read.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
simple.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
sort.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
state.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
stest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
testlib.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
testlib.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
ttest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
unknown.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
xcoff.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00
ztest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) 2018-01-12 10:26:02 -08:00

README.md

libbacktrace

A C library that may be linked into a C/C++ program to produce symbolic backtraces

Initially written by Ian Lance Taylor iant@golang.org

The libbacktrace library may be linked into a program or library and used to produce symbolic backtraces. Sample uses would be to print a detailed backtrace when an error occurs or to gather detailed profiling information.

The libbacktrace library is provided under a BSD license. See the source files for the exact license text.

The public functions are declared and documented in the header file backtrace.h, which should be #include'd by a user of the library.

Building libbacktrace will generate a file backtrace-supported.h, which a user of the library may use to determine whether backtraces will work. See the source file backtrace-supported.h.in for the macros that it defines.

As of September 2016, libbacktrace only supports ELF and PE/COFF executables with DWARF debugging information. The library is written to make it straightforward to add support for other object file and debugging formats.

The library relies on the C++ unwind API defined at https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html This API is provided by GCC.