tree: eed917ae1d860fc1f8b155729d17323140cd4dfb [path history] [tgz]
  1. acinclude.m4
  2. aclocal.m4
  3. alloc.c
  4. atomic.c
  5. backtrace-supported.h.in
  6. backtrace.c
  7. backtrace.h
  8. backtrace_t.h
  9. btest.c
  10. config.guess
  11. config.h.in
  12. config.sub
  13. configure
  14. configure.ac
  15. dwarf.c
  16. e.am
  17. edtest.c
  18. edtest2.c
  19. elf.c
  20. fileline.c
  21. filenames.h
  22. filetype.awk
  23. install-sh
  24. internal.h
  25. ltmain.sh
  26. macho.c
  27. Makefile.in
  28. Mark.Twain-Tom.Sawyer.txt
  29. missing
  30. mmap.c
  31. mmapio.c
  32. move-if-change
  33. nounwind.c
  34. pecoff.c
  35. posix.c
  36. print.c
  37. read.c
  38. README.md
  39. simple.c
  40. sort.c
  41. state.c
  42. stest.c
  43. testlib.c
  44. testlib.h
  45. ttest.c
  46. unknown.c
  47. xcoff.c
  48. ztest.c
sgx_backtrace_sys/libbacktrace/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.