Re: [cfe-users] How do I make CMake use LLD

2019-03-11 Thread Itaru Kitayama via cfe-users
I was just setting the flag for the C++ compiler wrapper, but doing the same for the C compiler seems to work (on ppc64le linking with LLD fails though). On Tue, Mar 5, 2019 at 12:07 AM David Blaikie wrote: > Generally the linker is invoked via the compiler wrapper (eg: "clang x.o > y.o" to prod

Re: [cfe-users] How do I make CMake use LLD

2019-03-04 Thread David Blaikie via cfe-users
Generally the linker is invoked via the compiler wrapper (eg: "clang x.o y.o" to produce a.out), so you can add to your linker flags "-fuse-ld=lld" to tell the compiler wrapper to lld. On Mon, Mar 4, 2019 at 7:06 AM Itaru Kitayama via cfe-users < cfe-users@lists.llvm.org> wrote: > Hi, > Keeping t