jfb added a comment. It actually seems to be on purpose: http://llvm.org/docs/ProgrammersManual.html#fine-grained-debug-info-with-debug-type-and-the-debug-only-option So different targets enable their diagnostic with the same debug flag. Repository: rL LLVM http://reviews.llvm.org/D11369