<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 10:16 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sure, have at. I'm surprised that's all you need, but it's an obviously correct incremental patch as well. If you had some way to test it that'd be great too ;)</div></blockquote><div><br></div><div>Any particular reason (I know nothing about msp430 - perhaps there's something inherent there that I'm missing) this wouldn't be testable in the usual manner? (bitcode + llc with a fixed triple + dwarfdump)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="HOEnZb"><font color="#888888"><div><br></div><div>-eric</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 10:06 AM, Iain Sandoe <span dir="ltr"><<a href="mailto:iain@codesourcery.com" target="_blank">iain@codesourcery.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Adrian, Eric,<br>
<br>
It's sometimes useful to see what is needed to support backends with ints smaller than 32bit.<br>
<br>
This is a patch to enable basic debug output on the msp430 in-tree back-end so that it can be used to investigate such support.<br>
<br>
1. The DWARF register numbers chosen have no particular rationale (but they match one GCC implementation, at least, for R0-R15)<br>
<br>
2. I have not implemented any of the CFI_ stuff<br>
<br>
however, this does still allow examination of basic variable handling etc. (and the CFI stuff could be added as/when it becomes useful).  It's certainly enough to investigate DWARF handling of variable pieces.<br>
<br>
cheers<br>
<span><font color="#888888">Iain<br>
<br>
</font></span><br><br>
<br>
<br></blockquote></div><br></div>
</div></div><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></div></div>