[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

Jim Laskey jlaskey at apple.com
Mon Jan 23 16:49:31 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCAsmPrinter.cpp updated: 1.141 -> 1.142
---
Log message:

Crude Dwarf global variable debugging.


---
Diffs of the changes:  (+4 -4)

 PPCAsmPrinter.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.141 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.142
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.141	Sun Jan 22 17:37:17 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp	Mon Jan 23 18:49:18 2006
@@ -438,7 +438,7 @@
   O << "\n\n";
   
   // Emit pre-function debug information.
-  DW.BeginFunction();
+  DW.BeginFunction(MF);
 
   // Print out constants referenced by the function
   EmitConstantPool(MF.getConstantPool());
@@ -486,7 +486,7 @@
   }
 
   // Emit post-function debug information.
-  DW.EndFunction();
+  DW.EndFunction(MF);
 
   // We didn't modify anything.
   return false;
@@ -502,7 +502,7 @@
   Mang->setUseQuotes(true);
   
   // Emit initial debug information.
-  DW.BeginModule();
+  DW.BeginModule(M);
   return false;
 }
 
@@ -619,7 +619,7 @@
   }
 
   // Emit initial debug information.
-  DW.EndModule();
+  DW.EndModule(M);
 
   // Funny Darwin hack: This flag tells the linker that no global symbols
   // contain code that falls through to other global symbols (e.g. the obvious






More information about the llvm-commits mailing list