DMD's codeview types for arrays
Walter Bright
newshound at digitalmars.com
Wed Jan 17 00:28:48 PST 2007
Jascha Wetzel wrote:
> Hi,
>
> examining the codeview symbols that DMD for windows generates, i've
> found that it sets the symbol type of arrays to 0x23 which is UQUAD
> (ulong in D). I can't find information on what the array's element type is.
> Can it be determined from the CV data?
> If not, shouldn't that be possible?
> It would be kind of cumbersome to have to parse the source for that.
I tried telling CV that arrays were really:
struct Array
{ size_t length;
void *ptr;
}
but it would get hopelessly lost with functions that returned arrays.
More information about the Digitalmars-d
mailing list