Re: How to use AddressSanitizer of gcc-4.8 on Arm target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jungsoo Son:
AddressSanitizer of Gcc-4.8 is not available on Arm arch yet. I have found
it in gcc-4.8 release note.
[...]
Is there any way to test AddressSanitizer on arm through changing compile
option or enable some-feature?

Well, if it is not implemented, it is not implemented. There is no option to change that.

However, GCC 4.9 will get ARM support for the address sanitizer. It seems as if the following patch has been committed two weeks ago: http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00338.html

Thus, you just need to build GCC 4.9 - and then -fsanitize=address should work.

Tobias




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux