Author: sewardj Date: 2008-02-26 01:09:37 +0000 (Tue, 26 Feb 2008) New Revision: 7470
Log: ML_(describe_type): fill in missing cases Modified: branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h branches/DATASYMS/coregrind/m_debuginfo/tytypes.c Modified: branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h =================================================================== --- branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h 2008-02-26 00:38:38 UTC (rev 7469) +++ branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h 2008-02-26 01:09:37 UTC (rev 7470) @@ -83,7 +83,7 @@ }; struct _Type { - enum { Ty_Base=30, Ty_PorR, Ty_Ref, Ty_TyDef, Ty_StOrUn, + enum { Ty_Base=30, Ty_PorR, Ty_TyDef, Ty_StOrUn, Ty_Enum, Ty_Array, Ty_Fn, Ty_Qual, Ty_Void } tag; union { struct { Modified: branches/DATASYMS/coregrind/m_debuginfo/tytypes.c =================================================================== --- branches/DATASYMS/coregrind/m_debuginfo/tytypes.c 2008-02-26 00:38:38 UTC (rev 7469) +++ branches/DATASYMS/coregrind/m_debuginfo/tytypes.c 2008-02-26 01:09:37 UTC (rev 7470) @@ -442,6 +442,12 @@ switch (ty->tag) { + /* These are all atomic types; there is nothing useful we can + do. */ + case Ty_Enum: + case Ty_Fn: + case Ty_Void: + case Ty_PorR: case Ty_Base: goto done; @@ -546,6 +552,7 @@ VG_(printf)("\n"); vg_assert(0); } + } } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers