]> git.ipfire.org Git - thirdparty/gcc.git/blame - libbacktrace/README
Add AMD znver5 processor enablement with scheduler model
[thirdparty/gcc.git] / libbacktrace / README
CommitLineData
eff02e4f 1The libbacktrace library
f535f9d7 2Initially written by Ian Lance Taylor <iant@golang.org>
eff02e4f
ILT
3
4The libbacktrace library may be linked into a program or library and
f535f9d7
ILT
5used to produce symbolic backtraces.
6Sample uses would be to print a detailed backtrace when an error
7occurs or to gather detailed profiling information.
8In general the functions provided by this library are async-signal-safe,
9meaning that they may be safely called from a signal handler.
eff02e4f 10
f535f9d7
ILT
11The libbacktrace library is provided under a BSD license.
12See the source files for the exact license text.
eff02e4f
ILT
13
14The public functions are declared and documented in the header file
15backtrace.h, which should be #include'd by a user of the library.
16
17Building libbacktrace will generate a file backtrace-supported.h,
18which a user of the library may use to determine whether backtraces
f535f9d7
ILT
19will work.
20See the source file backtrace-supported.h.in for the macros that it
21defines.
eff02e4f 22
f535f9d7
ILT
23As of October 2020, libbacktrace supports ELF, PE/COFF, Mach-O, and
24XCOFF executables with DWARF debugging information.
25In other words, it supports GNU/Linux, *BSD, macOS, Windows, and AIX.
26The library is written to make it straightforward to add support for
27other object file and debugging formats.
28
29The library relies on the C++ unwind API defined at
30https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html
31This API is provided by GCC and clang.