joerg added a comment. On the contrary, I find little reason for adding the complexity here. That's even ignoring the question of whether the suggested check even covers the relocation models correctly. https://reviews.llvm.org/D38554