The LLVM-based D Compiler.
(Changes since 1.38.0-beta1 are marked with (new).)
-link-defaultlib-shared
), as on regular Linux. (#4618)
-link-defaultlib-shared
), as on regular Linux. (#4618)(Changes since 1.36.0-beta1 are marked with (new).)
-fno-{exceptions,moduleinfo,rtti}
to selectively enable some -betterC
effects. (#4522)-fprofile-sample-use
for using sample-based profile data for optimization. Functionality and usage is identical to Clang's option with same name. (#4531)ldc-profgen
tool for sample-based PGO, a copy of LLVM's llvm-profgen. (#4536)-fno-{exceptions,moduleinfo,rtti}
to selectively enable some -betterC
effects. (#4522)-fprofile-sample-use
for using sample-based profile data for optimization. Functionality and usage is identical to Clang's option with same name. (#4531)ldc-profgen
tool for sample-based PGO, a copy of LLVM's llvm-profgen. (#4536)(Changes since 1.35.0-beta1 are marked with (new).)
/CURRENTUSER
switch. (#4495) (new)
static
linkage. (#4484, #4487) (new)
asm("_" "<name>")
mangling stuff. (#4485, #4486) (new)
-ftime-trace
JSON. (#4506, #4507) (new)
(Changes since 1.34.0-beta2 are marked with (new).)
-func-specialization-size-threshold=1000000000
in etc/ldc2.conf
(and separately for LTO on Posix platforms). To enable the function specializations, explicitly override it with e.g. -func-specialization-size-threshold=100
(the LLVM 16 default) and, for LTO on Posix, a similar LTO plugin option in the linker cmdline (see linker cmdline with -v
).-mattr=+m,+a,+f,+d,+c
('rv64gc' ABI) for non-bare-metal targets, i.e., if the target triple includes a valid operating system. (#4390) (new)
(Changes since 1.34.0-beta1 are marked with (new).)
-func-specialization-size-threshold=1000000000
in etc/ldc2.conf
(and separately for LTO on Posix platforms). To enable the function specializations, explicitly override it with e.g. -func-specialization-size-threshold=100
(the LLVM 16 default) and, for LTO on Posix, a similar LTO plugin option in the linker cmdline (see linker cmdline with -v
).