DMD's codeview types for arrays
Jascha Wetzel
"[firstname]" at mainia.de
Wed Jan 17 11:41:13 PST 2007
Walter Bright wrote:
> The problem really is for function return types.
Does that affect the naming of local symbols?
The CV types could be left the way they are and yet the complete array
type could be derived from the mangled name.
In fact, i'm manually emulating this ATM by using variable names with
mangled type information in my debuggee's source:
void debugeeFunc()
{
// char[] test;
char[] _D4testAa;
// ...
}
the generated CV symbol looks like this:
S_BPREL32 UQUAD [ebp+FFFFFFF8] _D4testAa
It's fine to have it declared UQUAD, since with the mangled type info in
the symbol name i can interpret the data at runtime properly.
More information about the Digitalmars-d
mailing list