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.<br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 2:28 PM, Will Dietz <span dir="ltr"><<a href="mailto:wdietz2@illinois.edu" target="_blank">wdietz2@illinois.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">(Attached).<br>
<br>
Many integer errors are easier to understand once you see the hex<br>
representation of the operands involved.<br>
<br>
Update tests accordingly.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Will<br>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br>