[PATCH] ubsan: add 'UndefinedBehaviorSanitizer' to messages

Ben Boeckel ben.boeckel at kitware.com
Mon Oct 6 12:28:00 PDT 2014


On Mon, Oct 06, 2014 at 19:06:40 +0000, Alexey Samsonov wrote:
> I think we should improve it in a different way. I think we should
> either replace "runtime-error" with "undefined-behavior", or be even
> more specific and print the exact UB kind in bold red letters here
> ("integer overflow", "misaligned address" etc). Richard, WDYT?

I'd like more specific terms as well so that CDash can bin them
appropriately. I don't know if the '===' barrier used in ASan and TSan
would be warranted for the default output, but it might be with
print_backtraces=1.

Thanks,

--Ben



More information about the llvm-commits mailing list