Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces.
Bug: 2487269 Change-Id: Iec5e470fc22cd9108404f634a9d4baa2c7b7f58f
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user