ruiu added a comment. I think the point of the existing code is to find as many command line argument errors as possible in one execution of the linker. I wonder what you are trying to fix with this patch. Repository: rLLD LLVM Linker https://reviews.llvm.org/D48688