ruiu added a comment. I guess that you could just move the code to the end of the function? Repository: rLLD LLVM Linker CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58599/new/ https://reviews.llvm.org/D58599