]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Sync up with NetBSD libexecinfo changes 2014-2019
authorcem <cem@FreeBSD.org>
Sat, 26 Oct 2019 06:59:59 +0000 (06:59 +0000)
committercem <cem@FreeBSD.org>
Sat, 26 Oct 2019 06:59:59 +0000 (06:59 +0000)
commit6b7774833bf027acc97c37658d20d4b4f4f1e009
tree600d632da24aaf3071939a11c02a428b08a3b897
parent9d26228d4768a023fbc42b746afe50b56f616472
Sync up with NetBSD libexecinfo changes 2014-2019

Drop portions that are unlit or redundant with llvm-libunwind: builtin.c,
unwind.h, and unwind_arm_ehabi_stub.c.

This code should now work with -fPIE binaries, should we choose to build any
that way.

When backtrace() array is full, signal an error so the underlying
Itanium-style C++ exception handling library (llvm-libunwind) knows to stop
tracing instead of continuing.  (It should stop on its own when it finishes
unwinding, so this is mostly an extra seatbelt against an infinite loop bug
in the unwinder.)
contrib/libexecinfo/builtin.c [deleted file]
contrib/libexecinfo/symtab.c
contrib/libexecinfo/unwind.c
contrib/libexecinfo/unwind.h [deleted file]
contrib/libexecinfo/unwind_arm_ehabi_stub.c [deleted file]
lib/libexecinfo/Makefile