This is an archive of the discontinued LLVM Phabricator instance.

[ubsan] Use the correct tool name in diagnostics
ClosedPublic

Authored by vsk on Apr 13 2017, 5:56 PM.

Details

Summary

When using ASan and UBSan together, the common sanitizer tool name is
set to "AddressSanitizer". That means that when a UBSan diagnostic is
printed out, it looks like this:

SUMMARY: AddressSanitizer: ...

This can confuse users. Fix it so that we always use the correct tool
name when printing out UBSan diagnostics.

Diff Detail

Event Timeline

vsk created this revision.Apr 13 2017, 5:56 PM
kcc accepted this revision.Apr 14 2017, 11:24 AM

LGTM, thanks!

This revision is now accepted and ready to land.Apr 14 2017, 11:24 AM
This revision was automatically updated to reflect the committed changes.