annotate dmd/ObjModule.d @ 192:eb38fdcb3e62 default tip

updated to compile with dmd2.062
author korDen
date Sat, 02 Mar 2013 01:25:52 -0800
parents 10317f0c89a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.ObjModule;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 struct ObjModule
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 ubyte* base; // where are we holding it in memory
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 uint length; // in bytes
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 ushort page; // page module starts in output file
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 ubyte flags;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 string name; // module name
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 enum MFgentheadr = 1; // generate THEADR record
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 enum MFtheadr = 2; // module name comes from THEADR record