[llvm-commits] CVS: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp X86ATTAsmPrinter.cpp X86AsmPrinter.cpp

Jim Laskey jlaskey at apple.com
Thu Mar 23 10:09:57 PST 2006



Changes in directory llvm/lib/Target/X86:

X86IntelAsmPrinter.cpp updated: 1.24 -> 1.25
X86ATTAsmPrinter.cpp updated: 1.31 -> 1.32
X86AsmPrinter.cpp updated: 1.171 -> 1.172
---
Log message:

Change interface to DwarfWriter.


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

 X86ATTAsmPrinter.cpp   |    4 ++--
 X86AsmPrinter.cpp      |    8 ++++----
 X86IntelAsmPrinter.cpp |    4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.24 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.25
--- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.24	Mon Mar 13 17:20:37 2006
+++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp	Thu Mar 23 12:09:44 2006
@@ -36,7 +36,7 @@
 
   if (forDarwin) {
     // Emit pre-function debug information.
-    DW.BeginFunction(MF);
+    DW.BeginFunction(&MF);
   }
 
   // Print out constants referenced by the function
@@ -68,7 +68,7 @@
 
   if (forDarwin) {
     // Emit post-function debug information.
-    DW.EndFunction(MF);
+    DW.EndFunction();
   }
 
   // We didn't modify anything.


Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.31 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.32
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.31	Mon Mar 13 17:20:37 2006
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp	Thu Mar 23 12:09:44 2006
@@ -37,7 +37,7 @@
 
   if (forDarwin) {
     // Emit pre-function debug information.
-    DW.BeginFunction(MF);
+    DW.BeginFunction(&MF);
   }
 
   // Print out constants referenced by the function
@@ -93,7 +93,7 @@
 
   if (forDarwin) {
     // Emit post-function debug information.
-    DW.EndFunction(MF);
+    DW.EndFunction();
   }
 
   // We didn't modify anything.


Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.171 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.172
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.171	Mon Mar 13 17:20:37 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp	Thu Mar 23 12:09:44 2006
@@ -76,7 +76,7 @@
   
   if (forDarwin) {
     // Emit initial debug information.
-    DW.BeginModule(M);
+    DW.BeginModule(&M);
   }
 
   return AsmPrinter::doInitialization(M);
@@ -191,13 +191,13 @@
     }
 
     // Emit initial debug information.
-    DW.EndModule(M);
+    DW.EndModule();
 
     // 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
     // implementation of multiple entry points).  If this doesn't occur, the
-    // linker can safely perform dead code stripping.  Since LLVM never generates
-    // code that does this, it is always safe to set.
+    // linker can safely perform dead code stripping.  Since LLVM never
+    // generates code that does this, it is always safe to set.
     O << "\t.subsections_via_symbols\n";
   }
 






More information about the llvm-commits mailing list