Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 18, 2009 Documentation on DMD source | ||||
---|---|---|---|---|
| ||||
Is there any guide to, or documentation for the DMD compiler source? I'm currently trying to make TypeInfo_Function not completely useless, but I'm not sure my code is actually being run. -- Daniel |
April 18, 2009 Re: Documentation on DMD source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | Daniel Keep wrote: > Is there any guide to, or documentation for the DMD compiler source? > > I'm currently trying to make TypeInfo_Function not completely useless, but I'm not sure my code is actually being run. > > -- Daniel Found this page: http://www.prowiki.org/wiki4d/wiki.cgi?DMDSourceGuide although it's fairly bare-bones. -- Daniel |
April 18, 2009 Re: Documentation on DMD source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | You'll get a lot of use out of defining the debugs for #ifdefs, and/or uncommenting printfs and following it. If your code may not be running, use a breakpoint or printf to ensure it is. -[Unknown] Daniel Keep wrote: > > Daniel Keep wrote: >> Is there any guide to, or documentation for the DMD compiler source? >> >> I'm currently trying to make TypeInfo_Function not completely useless, >> but I'm not sure my code is actually being run. >> >> -- Daniel > > Found this page: http://www.prowiki.org/wiki4d/wiki.cgi?DMDSourceGuide > although it's fairly bare-bones. > > -- Daniel |
April 19, 2009 Re: Documentation on DMD source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Unknown W. Brackets |
Unknown W. Brackets wrote:
> You'll get a lot of use out of defining the debugs for #ifdefs, and/or uncommenting printfs and following it.
>
> If your code may not be running, use a breakpoint or printf to ensure it is.
>
> -[Unknown]
I finally found out why my changes weren't working.
Because typinf.c is the ONE file in the frontend that doesn't get passed $(XFLAGS) when built. Guess where I put the -D for my changes? Go on, guess. You'll never get it.
*bangs head repeatedly*
Now I have an entirely DIFFERENT problem; I officially have NO idea what the code I modified does. :'(
-- Daniel
|
Copyright © 1999-2021 by the D Language Foundation