diff options
author | Andy McFadden <fadden@android.com> | 2009-10-15 16:07:43 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2009-10-21 10:41:12 -0700 |
commit | 96bbbe21778fc3f4a932822c2436238d6ce5721b (patch) | |
tree | 6bbaa7c085c94feb041cf1c3e2314193c02971df /libc/include/sys/linux-syscalls.h | |
parent | 7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c (diff) | |
download | bionic-96bbbe21778fc3f4a932822c2436238d6ce5721b.zip bionic-96bbbe21778fc3f4a932822c2436238d6ce5721b.tar.gz bionic-96bbbe21778fc3f4a932822c2436238d6ce5721b.tar.bz2 |
Wrap ARM abort() to improve stack trace.
The code generated for Thumb and Thumb2 targets has different handling
for abort(). Because abort() is "noreturn", it doesn't need to preserve
the callee-save registers. The Thumb2 version trashes LR and makes it
impossible to figure out who called abort().
This inserts a trivial stub function; net effect is stack traces are
reasonable after an abort().
For bug 2191452.
Eclair branch Dr. No approved by: hiroshi
Diffstat (limited to 'libc/include/sys/linux-syscalls.h')
0 files changed, 0 insertions, 0 deletions