[LLVMdev] Sparc debug info patch

Chris Lattner clattner at apple.com
Mon Sep 7 18:49:30 PDT 2009


On Sep 6, 2009, at 1:34 PM, Richard Pennington wrote:

> Please review the enclosed patch for Sparc debug info.
> I have been able to view source files, set breakpoints, and single  
> step source lines after applying this patch. I can't view variables  
> because I haven't implemented Dwarf type data, yet.

Cool!  I'm glad to see progress on the sparc backend:

+++ lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp	(working copy)
@@ -44,6 +44,8 @@

  namespace {
    class VISIBILITY_HIDDEN SparcAsmPrinter : public AsmPrinter {
+    DwarfWriter *DW;
+

This shouldn't be needed, the AsmPrinter base class now has this.   
This allows you to remove SparcAsmPrinter::doInitialization.

Otherwise, looks great, please apply.

-Chris





More information about the llvm-dev mailing list