mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Fix a couple of Dwarf bugs.
- Emit DW_AT_byte_size for struct and union of size zero. - Emit DW_AT_declaration for forward type declaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -906,7 +906,8 @@ void BasicTypeDesc::dump() {
|
||||
<< "Context(" << getContext() << "), "
|
||||
<< "Name(\"" << getName() << "\"), "
|
||||
<< "Size(" << getSize() << "), "
|
||||
<< "Encoding(" << Encoding << ")\n";
|
||||
<< "Encoding(" << Encoding << "),"
|
||||
<< "Flags(" << Flags << ")\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -965,7 +966,8 @@ void DerivedTypeDesc::dump() {
|
||||
<< "Size(" << getSize() << "), "
|
||||
<< "File(" << getFile() << "), "
|
||||
<< "Line(" << getLine() << "), "
|
||||
<< "FromType(" << FromType << ")\n";
|
||||
<< "FromType(" << FromType << "),"
|
||||
<< "Flags(" << Flags << ")\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1023,7 +1025,8 @@ void CompositeTypeDesc::dump() {
|
||||
<< "File(" << getFile() << "), "
|
||||
<< "Line(" << getLine() << "), "
|
||||
<< "FromType(" << getFromType() << "), "
|
||||
<< "Elements.size(" << Elements.size() << ")\n";
|
||||
<< "Elements.size(" << Elements.size() << "),"
|
||||
<< "Flags(" << Flags << ")\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user