Compile time macro trouble.
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Mar 14 06:39:41 PDT 2016
On 14 Mar 2016, at 13:14, Kagamin via digitalmars-d-ldc wrote:
> For small projects I compile entire codebase into bitcode and then
> compile it with llc or llvm-lto. This way llvm handles inlining and
> llvm-lto does even more :) I would recommend it.
More or less equivalently, you can also use -singleobj (which is the
default when using ldmd2). The only difference might be in the tuning
parameters of various optimization passes.
— David
More information about the digitalmars-d-ldc
mailing list