[LLVMdev] Best way to do a lto bootstrap on OS X

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Nov 12 06:53:22 PST 2013


For dogfooding the compiler I normally use is a LTO bootstrap of clang.

On linux that is simple to do that since clang passes the correct
plugin to the linker.

On OS X ld64 uses libLTO.so it finds via DYLD_LIBRARY_PATH. Should
clang set that before running the linker? Is there a better way for
clang to tell the linker which libLTO.so to use?

Cheers,
Rafael



More information about the llvm-dev mailing list