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

Jim Laskey jlaskey at apple.com
Thu Jun 15 13:51:58 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

MachineDebugInfo.h updated: 1.34 -> 1.35
---
Log message:

1. Support standard dwarf format (was bootstrapping in Apple format.)

2. Add vector support.


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

 MachineDebugInfo.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/MachineDebugInfo.h
diff -u llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.34 llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.35
--- llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.34	Wed Jun 14 09:45:39 2006
+++ llvm/include/llvm/CodeGen/MachineDebugInfo.h	Thu Jun 15 15:51:43 2006
@@ -57,7 +57,7 @@
 // Debug info constants.
 
 enum {
-  LLVMDebugVersion = 3                  // Current version of debug information.
+  LLVMDebugVersion = 4                  // Current version of debug information.
 };
 
 //===----------------------------------------------------------------------===//
@@ -400,13 +400,16 @@
 /// array/struct types (eg., arrays, struct, union, enums.)
 class CompositeTypeDesc : public DerivedTypeDesc {
 private:
+  bool IsVector;                        // packed/vector array
   std::vector<DebugInfoDesc *> Elements;// Information used to compose type.
 
 public:
   CompositeTypeDesc(unsigned T);
   
   // Accessors
+  bool isVector() const { return IsVector; }
   std::vector<DebugInfoDesc *> &getElements() { return Elements; }
+  void setIsVector() { IsVector = true; }
 
   // Implement isa/cast/dyncast.
   static bool classof(const CompositeTypeDesc *) { return true; }






More information about the llvm-commits mailing list