gcc/libbacktrace
Iain Sandoe 1352bc88a0 Darwin : Update libtool and dependencies for Darwin20 [PR97865]
The change in major version (and the increment from Darwin19 to 20)
caused libtool tests to fail which resulted in incorrect build settings
for shared libraries.

We take this opportunity to sort out the shared undefined symbols state
rather than propagating the current unsound behaviour into a new rev.

This change means that we default to the case that missing symbols are
considered an error, and if one wants to allow this intentionally, the
confiuration for that case should be set appropriately.

Three existing cases need undefined dynamic lookup:
 libitm, where there is already a configuration mechanism to add the
         flags.
 libcc1, where we add simple configuration to add the flags for Darwin.
 libsanitizer, where we can add to the existing extra flags.

libcc1/ChangeLog:

	PR target/97865
	* Makefile.am: Add dynamic_lookup to LD flags for Darwin.
	* configure.ac: Test for Darwin host and set a flag.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

libitm/ChangeLog:

	PR target/97865
	* configure.tgt: Add dynamic_lookup to XLDFLAGS for Darwin.
	* configure: Regenerate.

libsanitizer/ChangeLog:

	PR target/97865
	* configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
	Darwin.
	* configure: Regenerate.

ChangeLog:

	PR target/97865
	* libtool.m4: Update handling of Darwin platform link flags
	for Darwin20.

gcc/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libatomic/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libbacktrace/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libffi/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libgfortran/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libgomp/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libhsail-rt/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libobjc/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libphobos/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libquadmath/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libssp/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libstdc++-v3/ChangeLog:

	PR target/97865
	* configure: Regenerate.

libvtv/ChangeLog:

	PR target/97865
	* configure: Regenerate.

zlib/ChangeLog:

	PR target/97865
	* configure: Regenerate.
2020-12-05 08:43:20 +00:00
..
ChangeLog Daily bump. 2020-12-03 00:16:47 +00:00
ChangeLog.jit
Makefile.am libbacktrace: build mtest.dSYM if using dsymutil 2020-09-28 13:54:57 -07:00
Makefile.in libbacktrace: build mtest.dSYM if using dsymutil 2020-09-28 13:54:57 -07:00
README
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
alloc.c Update copyright years. 2020-01-01 12:51:42 +01:00
allocfail.c Update copyright years. 2020-01-01 12:51:42 +01:00
allocfail.sh Update copyright years. 2020-01-01 12:51:42 +01:00
atomic.c Update copyright years. 2020-01-01 12:51:42 +01:00
backtrace-supported.h.in Update copyright years. 2020-01-01 12:51:42 +01:00
backtrace.c Update copyright years. 2020-01-01 12:51:42 +01:00
backtrace.h Update copyright years. 2020-01-01 12:51:42 +01:00
btest.c Update copyright years. 2020-01-01 12:51:42 +01:00
config.h.in libbacktrace: support MiniDebugInfo 2020-09-14 14:11:17 -07:00
configure Darwin : Update libtool and dependencies for Darwin20 [PR97865] 2020-12-05 08:43:20 +00:00
configure.ac libbacktrace: only run dsymutil with Mach-O 2020-09-28 13:49:39 -07:00
dwarf.c libbacktrace: correct buffer overflow tests 2020-12-02 11:07:59 -08:00
edtest.c Update copyright years. 2020-01-01 12:51:42 +01:00
edtest2.c Update copyright years. 2020-01-01 12:51:42 +01:00
elf.c libbacktrace: use __attribute__((__fallthrough__)) 2020-10-20 11:49:58 -07:00
fileline.c libbacktrace: use ELF symbol table if no debug info available 2020-09-16 17:04:43 -07:00
filetype.awk libbacktrace: only match magic number at start of line 2020-09-08 12:52:29 -07:00
install-debuginfo-for-buildid.sh.in Update copyright years. 2020-01-01 12:51:42 +01:00
instrumented_alloc.c Update copyright years. 2020-01-01 12:51:42 +01:00
internal.h libbacktrace: use __attribute__((__fallthrough__)) 2020-10-20 11:49:58 -07:00
macho.c libbacktrace, Mach-O : Support PowerPC archs. 2020-09-16 19:37:28 +01:00
mmap.c libbacktrace: declare getpagesize if necessary 2020-05-11 10:51:59 -07:00
mmapio.c libbacktrace: declare getpagesize if necessary 2020-05-11 10:51:59 -07:00
mtest.c libbacktrace: use ELF symbol table if no debug info available 2020-09-16 17:04:43 -07:00
nounwind.c Update copyright years. 2020-01-01 12:51:42 +01:00
pecoff.c libbacktrace: don't strip leading underscore on 64-bit PE 2020-09-08 19:21:54 -07:00
posix.c libbacktrace: treat EACCESS like ENOENT 2020-05-13 10:19:58 -07:00
print.c Update copyright years. 2020-01-01 12:51:42 +01:00
read.c libbacktrace: support short read 2020-05-09 16:02:05 -07:00
simple.c libbacktrace: fix tipo in comment 2020-09-08 15:07:24 -07:00
sort.c Update copyright years. 2020-01-01 12:51:42 +01:00
state.c Update copyright years. 2020-01-01 12:51:42 +01:00
stest.c Update copyright years. 2020-01-01 12:51:42 +01:00
test_format.c Update copyright years. 2020-01-01 12:51:42 +01:00
testlib.c Update copyright years. 2020-01-01 12:51:42 +01:00
testlib.h Update copyright years. 2020-01-01 12:51:42 +01:00
ttest.c Update copyright years. 2020-01-01 12:51:42 +01:00
unittest.c Update copyright years. 2020-01-01 12:51:42 +01:00
unknown.c Update copyright years. 2020-01-01 12:51:42 +01:00
xcoff.c Update copyright years. 2020-01-01 12:51:42 +01:00
xztest.c libbacktrace: support MiniDebugInfo 2020-09-14 14:11:17 -07:00
ztest.c libbacktrace: mark test_large parameter unused in ztest.c 2020-05-13 11:09:53 -07:00

README

The libbacktrace library
Initially written by Ian Lance Taylor <iant@google.com>

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 2012, libbacktrace only supports ELF executables with
DWARF debugging information.  The library is written to make it
straightforward to add support for other object file and debugging
formats.