View source code
Display the source code in dmd/backend/backconfig.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Function dmd.backend.backconfig.out_config_init
Initialize configuration for backend.
extern(C) void out_config_init
(
int model,
bool exe,
bool trace,
bool nofloat,
bool vasm,
bool verbose,
bool optimize,
int symdebug,
bool alwaysframe,
bool stackstomp,
bool ibt,
ubyte avx,
ubyte pic,
bool useModuleInfo,
bool useTypeInfo,
bool useExceptions,
ubyte dwarf,
string _version,
uint exefmt,
bool generatedMain,
bool dataimports
) nothrow @trusted;
Parameters
Name | Description |
---|---|
model | 32 for 32 bit code, 64 for 64 bit code, set bit 0 to generate MS-COFF instead of OMF on Windows |
exe | true for exe file, false for dll or shared library (generate PIC code) |
trace | add profiling code |
nofloat | do not pull in floating point code |
vasm | print generated assembler for each function |
verbose | verbose compile |
optimize | optimize code |
symdebug | add symbolic debug information, 1 for D, 2 for fake it with C symbolic debug info |
alwaysframe | always create standard function frame |
stackstomp | add stack stomping code |
ibt | generate Indirect Branch Tracking code |
avx | use AVX instruction set (0, 1, 2) |
pic | position independence level (0, 1, 2) |
useModuleInfo | implement ModuleInfo |
useTypeInfo | implement TypeInfo |
useExceptions | implement exception handling |
dwarf | DWARF version used |
_version | Compiler version |
exefmt | Executable file format |
generatedMain | a main entrypoint is generated |
dataimports | do not place data symbols into read-only segment, it might be necessary to resolve relocations at runtime |
Authors
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.