1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Enable debug info for composite types.

llvm-svn: 62589
This commit is contained in:
Devang Patel 2009-01-20 18:13:03 +00:00
parent 7af474d2da
commit 6bd9ebdef8
2 changed files with 1 additions and 4 deletions

View 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;
};

View 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.