bionic/linker
Elliott Hughes 7b4d77e400 Make abort messages available to debuggerd.
This adds __libc_fatal, cleans up the internal logging code a bit more,
and switches suitable callers over to __libc_fatal. In addition to logging,
__libc_fatal stashes the message somewhere that the debuggerd signal handler
can find it before calling abort.

In the debuggerd signal handler, we pass this address to debuggerd so that
it can come back with ptrace to read the message and present it to the user.

Bug: 8531731

(cherry picked from commit 0d787c1fa1)

Change-Id: I5daeeaa36c1fc23f7f437d73a19808d9d558dd4d
2013-04-05 15:57:53 -07:00
..
arch Drop unnecessary execution permission for .cpp/.c/.h 2013-03-22 10:28:15 +08:00
Android.mk am 3002d64b: Merge "Everyone has a TLS register." 2013-02-13 08:11:24 -08:00
debugger.cpp Make abort messages available to debuggerd. 2013-04-05 15:57:53 -07:00
dlfcn.cpp Use more types than just 'unsigned' in the linker. 2013-03-12 11:26:56 -07:00
linker_debug.h Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
linker_environ.cpp Clean up the argc/argv/envp/auxv handling. 2013-02-07 11:44:21 -08:00
linker_environ.h Clean up the argc/argv/envp/auxv handling. 2013-02-07 11:44:21 -08:00
linker_phdr.cpp More linker cleanup. 2013-03-05 22:24:34 -08:00
linker_phdr.h More linker cleanup. 2013-03-05 22:24:34 -08:00
linker.cpp Make abort messages available to debuggerd. 2013-04-05 15:57:53 -07:00
linker.h Make abort messages available to debuggerd. 2013-04-05 15:57:53 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Regenerate all NOTICE files with the latest version of the script. 2012-08-15 15:43:13 -07:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00