view dmd/ObjModule.d @ 167:50a6d232176c

rewrite GlobalExpressions, moved DsymbolTable to Global, some cleanup
author korDen
date Thu, 30 Sep 2010 12:13:49 +0400
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.ObjModule;

struct ObjModule
{
	ubyte* base;			// where are we holding it in memory
    uint length;			// in bytes
    ushort page;			// page module starts in output file
    ubyte flags;
    string name;				// module name
}

enum MFgentheadr = 1;	// generate THEADR record
enum MFtheadr = 2;	// module name comes from THEADR record