This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]