<div class="gmail_quote">On 2 May 2010 10:53, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello, Nathan<br>I'll let others comment on MC hooks, I just made a very brief look<br>
over the contents of the archive. You can find the comments below.<br></blockquote><div><br></div><div>Yes I looked at this and there are several ways but TargetAsmBackend looked the bast place to deal with the MCStreamer choice for different TargetTriples.</div>


<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>                        for (SmallVector<char, Len>::const_iterator i = Data.begin (); i != Data.end (); i++)<br>



>                        {<br>
>                                if (i != Data.begin ())<br>
>                                        dbgout (' ');<br>
See llvm/Support/Debug.h for standard way of doing debug output in<br>
LLVM code. There are bunch of examples in many places.</blockquote><div><br></div><div>See :-</div><div><br></div><div>     <a href="http://llvm.org/docs/ProgrammersManual.html#DEBUG" target="_blank">http://llvm.org/docs/ProgrammersManual.html#DEBUG</a></div>


<div><br></div><div>Also trailing commas on enums cause errors on GCC. There are more errors on GCC as well which I will forward you ASAIC.</div><div><br></div><div>Aaron</div><div><br></div></div>