mehdi_amini added a comment. FYI: after talking more with @pcc and doing more tests: this is not meaningful and a strict subset of what the linker can do (and already does). I revert the patch. Repository: rL LLVM https://reviews.llvm.org/D28978