Mercurial > projects > ddmd
comparison dmd/backend/Symbol.d @ 22:fd4acc376c45
Implemented object file output and linking on linux.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Thu, 08 Apr 2010 04:21:03 +0100 |
parents | 10317f0c89a5 |
children | c876339731a4 |
comparison
equal
deleted
inserted
replaced
21:26b9f97f6162 | 22:fd4acc376c45 |
---|---|
79 // enclosing inline function for statics, | 79 // enclosing inline function for statics, |
80 // or namespace) | 80 // or namespace) |
81 ///#define isclassmember(s) ((s)->Sscope && (s)->Sscope->Sclass == SCstruct) | 81 ///#define isclassmember(s) ((s)->Sscope && (s)->Sscope->Sclass == SCstruct) |
82 | 82 |
83 const(char)* prettyIdent; // the symbol identifer as the user sees it | 83 const(char)* prettyIdent; // the symbol identifer as the user sees it |
84 | |
85 version (ELFOBJ_OR_MACHOBJ) | |
86 { | |
87 ptrdiff_t obj_si; // Symbol index of coff or elf symbol | |
88 size_t dwarf_off; // offset into .debug section | |
89 targ_size_t code_off; // rel. offset from start of block where var is initialized | |
90 targ_size_t last_off; // last offset using var | |
91 } | |
92 version (TARGET_OSX) | |
93 { | |
94 targ_size_t Slocalgotoffset; | |
95 } | |
84 | 96 |
85 enum_SC Sclass; // storage class (SCxxxx) | 97 enum_SC Sclass; // storage class (SCxxxx) |
86 char Sfl; // flavor (FLxxxx) | 98 char Sfl; // flavor (FLxxxx) |
87 SYMFLGS Sflags; // flag bits (SFLxxxx) | 99 SYMFLGS Sflags; // flag bits (SFLxxxx) |
88 | 100 |