Project ideas - looking for more contributors

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Jun 9 03:40:21 PDT 2014


On 8 Jun 2014, at 23:52, Dicebot via digitalmars-d-ldc wrote:
> AFAIK it will always be relevant as natural ldc CLI provides lot of 
> additional flags that expose LLVM capabilities. And goal of ldmd is to 
> provide exact drop-in replacement for any script or utility that uses 
> dmd CLI.

That is indeed true. LDC use the LLVM command-line parsing code to also 
expose all the LLVM-internal flags, which are very helpful for 
debugging, testing and fine-tuning the optimization options. The names 
of some of them conflict with DMD options, e.g. -debug. For this reason, 
the D flag has been renamed to -d-debug in the ldc binary.

This is unlikely to change unless somebody comes up with a very 
compelling usability argument.

Best,
David


More information about the digitalmars-d-ldc mailing list