out_config_init

Initialize configuration for backend.

extern (C) nothrow @safe public @trusted
void
out_config_init
(
int model
,
bool exe
,
bool trace
,
bool nofloat
,
bool vasm
,
bool verbose
,,,,,
ubyte avx
,
ubyte pic
,,,,
ubyte dwarf
,
string _version
,
exefmt_t exefmt
,)

Parameters

model int

32 for 32 bit code, 64 for 64 bit code, set bit 0 to generate MS-COFF instead of OMF on Windows

exe bool

true for exe file, false for dll or shared library (generate PIC code)

trace bool

add profiling code

nofloat bool

do not pull in floating point code

vasm bool

print generated assembler for each function

verbose bool

verbose compile

optimize bool

optimize code

symdebug int

add symbolic debug information, 1 for D, 2 for fake it with C symbolic debug info

alwaysframe bool

always create standard function frame

stackstomp bool

add stack stomping code

avx ubyte

use AVX instruction set (0, 1, 2)

pic ubyte

position independence level (0, 1, 2)

useModuleInfo bool

implement ModuleInfo

useTypeInfo bool

implement TypeInfo

useExceptions bool

implement exception handling

dwarf ubyte

DWARF version used

_version string

Compiler version

exefmt exefmt_t

Executable file format

generatedMain bool

a main entrypoint is generated

Meta