sbc100 added a comment. I've also been working on a similar change: https://reviews.llvm.org/D40760 Sorry its been in the works for a while but I hadn't uploaded it yet. Repository: rLLD LLVM Linker https://reviews.llvm.org/D40614