ruiu added a comment. Even with this patch, don't you still have to make a change to lld so that it accepts a set of input files of different targets? Repository: rLLD LLVM Linker CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55311/new/ https://reviews.llvm.org/D55311