+2002-06-29 Martin Baulig <martin@gnome.org>
+
+ * MonoDwarfFileWriter.cs (DieInheritance): Make this actually work.
+
2002-06-29 Martin Baulig <martin@gnome.org>
* MonoDwarfFileWriter.cs, MonoSymbolWriter.cs: Put all TAG_subprogram's into their
}
public void WriteTypeReference (ITypeHandle ihandle)
+ {
+ WriteTypeReference (ihandle, true);
+ }
+
+ public void WriteTypeReference (ITypeHandle ihandle, bool use_pointer_die)
{
if (!(ihandle is TypeHandle))
throw new NotSupportedException ();
TypeHandle handle = (TypeHandle) ihandle;
- if (handle.PointerDie != null)
+ if (use_pointer_die && (handle.PointerDie != null))
WriteRelativeDieReference (handle.PointerDie);
else
WriteRelativeDieReference (handle.TypeDie);
public override void DoEmit ()
{
- DieCompileUnit.WriteTypeReference (TypeHandle);
+ DieCompileUnit.WriteTypeReference (TypeHandle, false);
object end_index = aw.StartSubsectionWithSize ();
aw.WriteUInt8 ((int) DW_OP.OP_const1u);