I agree with this desire and motivation, but I have also seen cases where debuginfo reduces LLVM's ability to optimize, like I mentioned here. GCC works harder to make sure this doesn't happen, so much that there's even the option -fcompare-debug you can use to assert there's no difference.