scons: Add Undefined Behavior Sanitizer (UBSan) option
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 16 Oct 2014 09:49:36 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 16 Oct 2014 09:49:36 +0000 (05:49 -0400)
commitb14f521e5f16f942a1f13a431dad2a72e8966f21
tree99bb5d51faa8fd4a49eaf19978cd5c3e2373780a
parentded540a661d9ff572ca58cd2e990460b2518dc28
scons: Add Undefined Behavior Sanitizer (UBSan) option

This patch adds the Undefined Behavior Sanitizer (UBSan) for clang and
gcc >= 4.9. Due to the performance impact, the usage is guarded by a
command-line option.
SConstruct
src/SConscript