[PATCH] [compiler-rt] [ubsan] Print dynamic integer values in both decimal and hexadecimal

Richard Smith richard at metafoo.co.uk
Tue Feb 26 17:08:40 PST 2013


Instead of storing a string in HexVal, please represent it as a Value, add
a new Diag::Arg kind for it, and teach renderText in ubsan_diag.cc to print
it.

On Tue, Feb 26, 2013 at 2:28 PM, Will Dietz <wdietz2 at illinois.edu> wrote:

> (Attached).
>
> Many integer errors are easier to understand once you see the hex
> representation of the operands involved.
>
> Update tests accordingly.
>
> ~Will
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130226/17e26dca/attachment.html>


More information about the llvm-commits mailing list