<div dir="ltr">Can you please "svn up -r196270" and try running the R600 tests and add printfs to DwarfDebug::{begin,end}Function?<div><br></div><div>e.g. see</div><div><a href="http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu/builds/10693">http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu/builds/10693</a><br>

</div><div><br></div><div>I can guess that these tests don't actually need debug info (as they don't have any metadata),</div><div>but it is obvious that DwarfDebug::endFunction() gets called without calling beginFunction() first.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/3 Tom Stellard <span dir="ltr"><<a href="mailto:tom@stellard.net" target="_blank">tom@stellard.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On Tue, Dec 03, 2013 at 11:03:18PM +0400, Timur Iskhodzhanov wrote:<br>
> 2013/12/3 Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>><br>
><br>
> > > +  /// Please note that some AsmPrinter implementationss may not call<br>
> ><br>
> > "implementations"<br>
> ><br>
><br>
> Oops! r196304<br>
><br>
>  > +  /// beginFunction at all.<br>
> ><br>
> > Wat? They call endFunction but not beginFunction?<br>
><br>
><br>
> +Tom<br>
> You might want to revisit how AMDGPUAsmPrinter interacts with DwarfDebug<br>
> through AsmPrinter.<br>
><br>
<br>
</div></div>Can you give me a little more background on the issue?  I don't know<br>
anything about DwarfDebug and if R600 is using it, then it is probably<br>
an accident.<br>
<br>
-Tom<br>
<br>
><br>
> > -eric<br>
<div class="HOEnZb"><div class="h5">> ><br>
<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>
</div></div></blockquote></div><br></div>