annotate dmd/ObjModule.d @ 135:af1bebfd96a4 dmd2037

dmd 2.038
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 13 Sep 2010 22:19:42 +0100
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