DMD's codeview types for arrays
Jascha Wetzel
"[firstname]" at mainia.de
Wed Jan 17 10:13:06 PST 2007
Codeview doesn't support register symbols, afaik. Therefore local
symbols always have offsets into the stack frame. Debugging optimized
code is problematic either way...
To be precise, i should have written "stack data symbols". DMD mangles
types for global and local functions as well as global data, but doesn't
do so for local (stack-) data.
Thomas Kuehne wrote:
> Jascha Wetzel schrieb am 2007-01-17:
>> thinking about it: why not simply mangle all data symbols just like
>> function symbols?
>
> Some "data symbols" never have a proper address apart from a
> register. "data symbols" in functions don't have a constant address
> (though they usually have a constant offset).
>
> Thomas
>
>
More information about the Digitalmars-d
mailing list