[LLVMdev] llvm-ld doesn't honor -Ox

Nick Lewycky nicholas at mxc.ca
Wed Jul 18 15:45:56 PDT 2007


Holger Schurig wrote:
> The project that I use to test LLVM against showed that currently
> llvm-ld doesn't honor the -Ox switch.

You're entirely right. It appears that llvm-ld is still programmed to
use the -disable-opt and -disable-inline options. That should be fixed.

The code is in tools/llvm-ld/Optimize.cpp for anyone interested.

Nick



More information about the llvm-dev mailing list