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