From 633225e56bc7f0a3c0446121d36587992607bbbe Mon Sep 17 00:00:00 2001 From: sagitario Date: Sun, 7 Jun 2009 18:23:07 +0000 Subject: v0.6: removed LF_DERIVED info from debug info --- CHANGES | 5 +++++ VERSION | 2 +- src/cv2pdb.cpp | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9488922..f4f5088 100644 --- a/CHANGES +++ b/CHANGES @@ -41,3 +41,8 @@ Version history * fixed problems with debug info inside library by combining debug info of different modules into a single pseudo-module * now also replaces '.' by '@' in enumerator types for more consistent debug info + +2009-06-07 Version 0.6 + + * removed LF_DERIVED info from debug info, as it is inconsistent in DMD generated info + with more than 4096 type entries diff --git a/VERSION b/VERSION index f264463..13413a8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION = 0.5 +VERSION = 0.6 diff --git a/src/cv2pdb.cpp b/src/cv2pdb.cpp index a8da38d..af5a025 100644 --- a/src/cv2pdb.cpp +++ b/src/cv2pdb.cpp @@ -1679,6 +1679,10 @@ bool CV2PDB::initGlobalTypes() break; case LF_DERIVED_V1: +#if 1 // types wrong by DMD + rdtype->generic.id = LF_NULL_V1; + len = 4; +#else rdtype->derived_v2.id = LF_DERIVED_V2; rdtype->derived_v2.num = rtype->derived_v1.num; for (int i = 0; i < rtype->derived_v1.num; i++) @@ -1687,6 +1691,7 @@ bool CV2PDB::initGlobalTypes() else rdtype->derived_v2.drvdcls[i] = translateType(rtype->derived_v1.drvdcls[i]); len = sizeof(rdtype->derived_v2) + 4 * rdtype->derived_v2.num - sizeof(rdtype->derived_v2.drvdcls); +#endif break; case LF_VTSHAPE_V1: // no alternate version known -- cgit v0.12