|
From: João M. S. S. <joa...@gm...> - 2015-01-02 18:15:42
|
On 01/02/2015 07:04 AM, Tom Hughes wrote: > Try building with -fsanitize=address which is a clang/gcc tool that does > similar things to valgrind, but because it works at compile time it can > insert gaps between stack variables. Thanks, I've added that switch to my list. It seems to work both on x86_64 and armv7l. I don't seem to have any error, now that the sprintf issue is solved. I tried this switch yesterday both with clang and gcc and got some warning/error (in red) but no human-readable stack trace. I tried to add -fno-omit-frame-pointer to make the stack trace readable without success. So I concluded it didn't work on armv7l (yesterday I didn't try x86_64). Anyway it seems to be working so I'll keep these switches. Thanks. -- João M. S. Silva |