Many places in the documentation says the -debug and the -debug-only=... can be used to debug modules. However, I cannot find this option in llc (llvm version 2.8rc, DEBUG build). This doc explicitly uses -debug/-debug-only: http://llvm.org/docs/ProgrammersManual.html#DEBUG_TYPE Thanks, Jeff Kunkel