digitalmars.D.learn - Documentation on DMD source
- Daniel Keep (4/4) Apr 18 2009 Is there any guide to, or documentation for the DMD compiler source?
- Daniel Keep (4/10) Apr 18 2009 Found this page: http://www.prowiki.org/wiki4d/wiki.cgi?DMDSourceGuide
- Unknown W. Brackets (5/18) Apr 18 2009 You'll get a lot of use out of defining the debugs for #ifdefs, and/or
- Daniel Keep (9/16) Apr 19 2009 I finally found out why my changes weren't working.
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
Apr 18 2009
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. -- DanielFound this page: http://www.prowiki.org/wiki4d/wiki.cgi?DMDSourceGuide although it's fairly bare-bones. -- Daniel
Apr 18 2009
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. -- DanielFound this page: http://www.prowiki.org/wiki4d/wiki.cgi?DMDSourceGuide although it's fairly bare-bones. -- Daniel
Apr 18 2009
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
Apr 19 2009