Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces.

Bug: 2487269
Change-Id: Iec5e470fc22cd9108404f634a9d4baa2c7b7f58f
This commit is contained in:
Elliott Hughes
2013-02-14 14:37:34 -08:00
parent c2d26ce745
commit fb7eb5e07f
6 changed files with 45 additions and 50 deletions

View File

@@ -36,7 +36,7 @@ pid_t gettid() { return syscall(__NR_gettid); }
#ifdef __i386__
// For x86, bionic and glibc have per-thread stack guard values.
// For x86, bionic and glibc have per-thread stack guard values (all identical).
static uint32_t GetGuardFromTls() {
uint32_t guard;