<div dir="ltr"><div><div><div><div><div>Hi,<br></div>I'm building LLVM on Mac OS 10.10 and I'm having trouble making LTO work. The system linker dumps the following information when I executed "ld -v"<br><br>@(#)PROGRAM:ld PROJECT:ld64-241.9<br>configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em<br>LTO support using: LLVM version 3.4.2<br><br></div>which tells me that it is correctly pointing to the LLVM that I have built.<br></div>However, when I pass any LTO command line arguments like "disable-inling" it complains.<br></div><br>I was previously working on Linux and the gold plugin makes it very convenient. However, that plugin only handles ELF assembly and I can't install it on Mac.<br><br>Any idea what is wrong?<br></div><div><div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><font face="tahoma, sans-serif">Rahman</font></div>
</div></div></div></div></div></div></div></div></div></div>