mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Enable debug info for composite types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -118,6 +118,7 @@ namespace llvm {
|
|||||||
std::string getFilename() const { return getStringField(3); }
|
std::string getFilename() const { return getStringField(3); }
|
||||||
std::string getDirectory() const { return getStringField(4); }
|
std::string getDirectory() const { return getStringField(4); }
|
||||||
std::string getProducer() const { return getStringField(5); }
|
std::string getProducer() const { return getStringField(5); }
|
||||||
|
|
||||||
/// Verify - Verify that a compile unit is well formed.
|
/// Verify - Verify that a compile unit is well formed.
|
||||||
bool Verify() const;
|
bool Verify() const;
|
||||||
};
|
};
|
||||||
|
@@ -1743,9 +1743,6 @@ private:
|
|||||||
void ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
|
void ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
|
||||||
DICompositeType CTy) {
|
DICompositeType CTy) {
|
||||||
|
|
||||||
/// FIXME - Enable this asap.
|
|
||||||
return;
|
|
||||||
|
|
||||||
// Get core information.
|
// Get core information.
|
||||||
const std::string &Name = CTy.getName();
|
const std::string &Name = CTy.getName();
|
||||||
uint64_t Size = CTy.getSizeInBits() >> 3;
|
uint64_t Size = CTy.getSizeInBits() >> 3;
|
||||||
@@ -1859,7 +1856,6 @@ private:
|
|||||||
AddUInt(&Buffer, DW_AT_GNU_vector, DW_FORM_flag, 1);
|
AddUInt(&Buffer, DW_AT_GNU_vector, DW_FORM_flag, 1);
|
||||||
|
|
||||||
DIArray Elements = CTy->getTypeArray();
|
DIArray Elements = CTy->getTypeArray();
|
||||||
// FIXME - Enable this.
|
|
||||||
AddType(DW_Unit, &Buffer, CTy->getTypeDerivedFrom());
|
AddType(DW_Unit, &Buffer, CTy->getTypeDerivedFrom());
|
||||||
|
|
||||||
// Construct an anonymous type for index type.
|
// Construct an anonymous type for index type.
|
||||||
|
Reference in New Issue
Block a user