[llvm-commits] CVS: llvm/include/llvm/CodeGen/DwarfWriter.h

Jim Laskey jlaskey at apple.com
Tue Mar 28 06:58:45 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

DwarfWriter.h updated: 1.31 -> 1.32
---
Log message:

Refactor address attributes.  Add base register to frame info.


---
Diffs of the changes:  (+5 -0)

 DwarfWriter.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/CodeGen/DwarfWriter.h
diff -u llvm/include/llvm/CodeGen/DwarfWriter.h:1.31 llvm/include/llvm/CodeGen/DwarfWriter.h:1.32
--- llvm/include/llvm/CodeGen/DwarfWriter.h:1.31	Thu Mar 23 17:02:34 2006
+++ llvm/include/llvm/CodeGen/DwarfWriter.h	Tue Mar 28 08:58:32 2006
@@ -41,6 +41,7 @@
 class DIEAbbrev;
 class GlobalVariableDesc;
 class MachineDebugInfo;
+class MachineLocation;
 class MachineFunction;
 class Module;
 class SubprogramDesc;
@@ -321,6 +322,10 @@
   /// entry. 
   void AddSourceLine(DIE *Die, CompileUnitDesc *File, unsigned Line);
 
+  /// AddAddress - Add an address attribute to a die based on the location
+  /// provided.
+  void AddAddress(DIE *Die, unsigned Attribute, MachineLocation &Location);
+
   /// NewType - Create a new type DIE.
   ///
   DIE *NewType(DIE *Context, TypeDesc *TyDesc, CompileUnit *Unit);






More information about the llvm-commits mailing list