Enable debug info for composite types.
authorDevang Patel <dpatel@apple.com>
Tue, 20 Jan 2009 18:13:03 +0000 (18:13 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 20 Jan 2009 18:13:03 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62589 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfWriter.cpp

index 1eaa69a04cf85cd76bd209bd6d61205a69529cc9..5ee8db6d1639ff8168acd70a0a467574d85fd448 100644 (file)
@@ -118,6 +118,7 @@ namespace llvm {
     std::string getFilename() const  { return getStringField(3); }
     std::string getDirectory() const { return getStringField(4); }
     std::string getProducer() const  { return getStringField(5); }
+
     /// Verify - Verify that a compile unit is well formed.
     bool Verify() const;
   };
index 65659aecc83bb53466c189eacd55226d5d0b0095..d3d2ded88ff97de668739a7366fb8e3f24ea3970 100644 (file)
@@ -1743,9 +1743,6 @@ private:
   void ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
                         DICompositeType CTy) {
 
-    /// FIXME - Enable this asap.
-    return;
-
     // Get core information.
     const std::string &Name = CTy.getName();
     uint64_t Size = CTy.getSizeInBits() >> 3;
@@ -1859,7 +1856,6 @@ private:
       AddUInt(&Buffer, DW_AT_GNU_vector, DW_FORM_flag, 1);
     
     DIArray Elements = CTy->getTypeArray();
-    // FIXME - Enable this. 
     AddType(DW_Unit, &Buffer, CTy->getTypeDerivedFrom());
 
     // Construct an anonymous type for index type.