]> code.ossystems Code Review - openembedded-core.git/commit
gcc-sanitizers: Enable GCC sanitizers
authorDan McGregor <dan.mcgregor@usask.ca>
Thu, 11 Dec 2014 02:14:03 +0000 (20:14 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Jan 2015 11:35:27 +0000 (11:35 +0000)
commit1709bf0c3a84bb04bc52e9104ad8e09fba6c6f91
tree721450ac33fac057594d4b12d782fada44908517
parent78d3bf2e4c88779df32b9dfbe8362dc24e9ad080
gcc-sanitizers: Enable GCC sanitizers

AddressSanitizer is a fast memory error detector.
ThreadSanitizer detects data races.
UBSanitizer detectes undefined behaviour.

All consist of compiler instrumentation and a run-time library.
The compiler instrumentation was already enabled, this builds
the run-time library component.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
meta/conf/distro/include/security_flags.inc
meta/conf/distro/include/tcmode-default.inc
meta/recipes-devtools/gcc/gcc-sanitizers.inc [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc-sanitizers_4.8.bb [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc-sanitizers_4.9.bb [new file with mode: 0644]