A C library that may be linked into a C/C++ program to produce symbolic backtraces
Switch branches/tags
Nothing to show
Clone or download
ianlancetaylor config.guess, config.sub: update to latest versions
Update to config.guess 2018-05-19 and config.sub 2018-05-24 from
git://git.savannah.gnu.org/config.git revision
3a2a927f547ee478147008c3fda2adb8a2b2ebc4.

This brings in musl support.
Latest commit 5a99ff7 Jun 5, 2018
Permalink
Failed to load latest commit information.
config libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
.gitignore .gitignore: add simple .gitignore file Jan 15, 2018
LICENSE libbacktrace: initial commit Sep 10, 2016
Makefile.am libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
Makefile.in libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
Mark.Twain-Tom.Sawyer.txt Add text used for "inflate large" test. Jan 17, 2018
README.md README: mention XCOFF, call this version 1.0 Jan 25, 2018
acinclude.m4 Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
aclocal.m4 libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
alloc.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
atomic.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
backtrace-supported.h.in all: remove meaningless trailing whitespace Sep 11, 2016
backtrace.c * backtrace.c: Revert last change. Don't call mmap Apr 17, 2018
backtrace.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
btest.c * elf.c (elf_add): Close descriptor if we use a debugfile. Jan 31, 2018
config.guess config.guess, config.sub: update to latest versions Jun 5, 2018
config.h.in libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
config.sub config.guess, config.sub: update to latest versions Jun 5, 2018
configure libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
configure.ac libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
dwarf.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
edtest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
edtest2.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
elf.c Copy changes from GCC: Apr 17, 2018
fileline.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
filenames.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
filetype.awk libbacktrace: initial commit Sep 10, 2016
install-sh libbacktrace: initial commit Sep 10, 2016
internal.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
ltmain.sh libbacktrace: rebuild configury with GCC standard tool versions Jan 17, 2018
missing libbacktrace: initial commit Sep 10, 2016
mmap.c * mmap.c (backtrace_free_locked): Don't put more than 16 entries Jan 25, 2018
mmapio.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
move-if-change Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
nounwind.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
pecoff.c * pecoff.c (coff_add): Only release syms_view if it is valid. Jan 25, 2018
posix.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
print.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
read.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
simple.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
sort.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
state.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
stest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
testlib.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
testlib.h Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
ttest.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
unknown.c Update from gcc trunk version of libbacktrace at svn rev 256427. (#8) Jan 12, 2018
xcoff.c Copy changes from GCC: Apr 17, 2018
ztest.c libbacktrace: update to GCC SVN revision 256776 Jan 17, 2018

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.

This is version 1.0. It is likely that this will always be version 1.0.

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 January 2018, libbacktrace only supports ELF, PE/COFF, and XCOFF 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.