dmd.backend.obj

Compiler implementation of the D programming language.

Public Imports

stubobj
public import stubobj;

Members

Classes

Obj
class Obj

Generic interface to the four object module file formats supported. Instead of using virtual functions (i.e. virtual dispatch) it uses static dispatch. Since config.objfmt never changes after initialization of the compiler, static branch prediction should make it faster than virtual dispatch.

Functions

ElfObj_addrel
void ElfObj_addrel(int seg, targ_size_t offset, uint type, uint symidx, targ_size_t val)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_addstr
uint ElfObj_addstr(Outbuffer* strtab, const(char)* )
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_dosseg
void ElfObj_dosseg()
ElfObj_fardata
int ElfObj_fardata(char* name, targ_size_t size, targ_size_t* poffset)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_getGOTsym
Symbol* ElfObj_getGOTsym()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_getsegment
int ElfObj_getsegment(const(char)* sectname, const(char)* suffix, int type, int flags, int align_)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_gotref
void ElfObj_gotref(Symbol* s)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_import
void ElfObj_import(elem* e)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_ledata
void ElfObj_ledata(int seg, targ_size_t offset, targ_size_t data, uint lcfd, uint idx1, uint idx2)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_lzext
void ElfObj_lzext(Symbol* , Symbol* )
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_mangle
size_t ElfObj_mangle(Symbol* s, char* dest)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_refGOTsym
void ElfObj_refGOTsym()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_reftofarseg
void ElfObj_reftofarseg(int seg, targ_size_t offset, targ_size_t val, int farseg, int flags)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_segment_group
void ElfObj_segment_group(targ_size_t codesize, targ_size_t datasize, targ_size_t cdatasize, targ_size_t udatasize)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_theadr
void ElfObj_theadr(const(char)* modname)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ElfObj_writerel
size_t ElfObj_writerel(int targseg, size_t offset, uint type, uint symidx, targ_size_t val)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_addrel
void MachObj_addrel(int seg, targ_size_t offset, Symbol* targsym, uint targseg, int rtype, int val)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_addstr
uint MachObj_addstr(Outbuffer* strtab, const(char)* )
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_dosseg
void MachObj_dosseg()
MachObj_fardata
int MachObj_fardata(char* name, targ_size_t size, targ_size_t* poffset)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_getGOTsym
Symbol* MachObj_getGOTsym()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_getsegment
int MachObj_getsegment(const(char)* sectname, const(char)* segname, int align_, int flags)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_gotref
void MachObj_gotref(Symbol* s)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_import
void MachObj_import(elem* e)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_ledata
void MachObj_ledata(int seg, targ_size_t offset, targ_size_t data, uint lcfd, uint idx1, uint idx2)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_lzext
void MachObj_lzext(Symbol* , Symbol* )
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_mangle
size_t MachObj_mangle(Symbol* s, char* dest)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_refGOTsym
void MachObj_refGOTsym()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_reftofarseg
void MachObj_reftofarseg(int seg, targ_size_t offset, targ_size_t val, int farseg, int flags)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_segment_group
void MachObj_segment_group(targ_size_t codesize, targ_size_t datasize, targ_size_t cdatasize, targ_size_t udatasize)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MachObj_theadr
void MachObj_theadr(const(char)* modname)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_addScnhdr
uint MsCoffObj_addScnhdr(const(char)* scnhdr_name, uint flags)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_addrel
void MsCoffObj_addrel(int seg, targ_size_t offset, Symbol* targsym, uint targseg, int rtype, int val)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_getsegment
int MsCoffObj_getsegment(const(char)* sectname, uint flags)
MsCoffObj_getsegment2
int MsCoffObj_getsegment2(uint shtidx)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_debugS
int MsCoffObj_seg_debugS()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_debugS_comdat
int MsCoffObj_seg_debugS_comdat(Symbol* sfunc)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_debugT
int MsCoffObj_seg_debugT()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_drectve
int MsCoffObj_seg_drectve()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_pdata
int MsCoffObj_seg_pdata()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_pdata_comdat
int MsCoffObj_seg_pdata_comdat(Symbol* sfunc)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_xdata
int MsCoffObj_seg_xdata()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MsCoffObj_seg_xdata_comdat
int MsCoffObj_seg_xdata_comdat(Symbol* sfunc)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_dosseg
void OmfObj_dosseg()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_fardata
int OmfObj_fardata(char* name, targ_size_t size, targ_size_t* poffset)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_import
void OmfObj_import(elem* e)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_ledata
void OmfObj_ledata(int seg, targ_size_t offset, targ_size_t data, uint lcfd, uint idx1, uint idx2)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_lzext
void OmfObj_lzext(Symbol* , Symbol* )
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_mangle
size_t OmfObj_mangle(Symbol* s, char* dest)
OmfObj_reftofarseg
void OmfObj_reftofarseg(int seg, targ_size_t offset, targ_size_t val, int farseg, int flags)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_seg_debugT
int OmfObj_seg_debugT()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_segment_group
void OmfObj_segment_group(targ_size_t codesize, targ_size_t datasize, targ_size_t cdatasize, targ_size_t udatasize)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_theadr
void OmfObj_theadr(const(char)* modname)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
OmfObj_write_long
void OmfObj_write_long(int seg, targ_size_t offset, uint data, uint lcfd, uint idx1, uint idx2)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Static variables

objmod
Obj objmod;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Meta