From fb7eb5e07f43587c2bedf2aaa53b21fa002417bb Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 14 Feb 2013 14:37:34 -0800 Subject: Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces. Bug: 2487269 Change-Id: Iec5e470fc22cd9108404f634a9d4baa2c7b7f58f --- tests/stack_protector_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/stack_protector_test.cpp') diff --git a/tests/stack_protector_test.cpp b/tests/stack_protector_test.cpp index 664a11e7b..97d5ad62e 100644 --- a/tests/stack_protector_test.cpp +++ b/tests/stack_protector_test.cpp @@ -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; -- cgit v1.2.3