summaryrefslogtreecommitdiff
path: root/src/soc/ucb
diff options
context:
space:
mode:
authorRyan Salsamendi <rsalsamendi@hotmail.com>2017-06-11 21:07:31 -0700
committerPatrick Georgi <pgeorgi@google.com>2017-06-14 19:56:59 +0200
commitab37e9a171794d3d1fdaa5eff93a61590e5cee8c (patch)
treef1d723eca798fdc9c5a3164f33c5577cd7a7d43d /src/soc/ucb
parentfce582fa1c928051a3847d35cc334d040159aafb (diff)
Add support for Undefined Behavior Sanitizer
Initial support for undefined behavior sanitizer in ramstage. Enabling this will add -fsanitize=undefined to the compiler command line and link with ubsan.c in ramstage. Code with UB triggers a report with error, file, and line number, then aborts. Change-Id: Ib139a418db97b533f99fc59bcb1a71fb6dcd01d8 Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com> Reviewed-on: https://review.coreboot.org/20156 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/soc/ucb')
0 files changed, 0 insertions, 0 deletions