llc and -debug-only?

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

Hi Jeff,

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).

llc -help-hidden

Ciao,

Duncan.

Thanks Duncan,

I assume the debug-pass option (the only option with "debug"
prepending it) is the correct option.

Thanks,
Jeff Kunkel

Hi Jeff,

I assume the debug-pass option (the only option with "debug"
prepending it) is the correct option.

with latest svn I get:

   -debug - Enable debug output
   -debug-buffer-size=<uint> - Buffer the last N characters of debug outputuntil program termination. [default 0 -- immediate print-out]
   -debug-only=<debug string> - Enable a specific type of debug output
   -debug-pass - Print PassManager debugging information
     =None - disable debug output
     =Arguments - print pass arguments to pass to 'opt'
     =Structure - print pass structure before run()
     =Executions - print pass name before it is executed
     =Details - print pass details when it is executed

Hi Jeff,

I assume the debug-pass option (the only option with "debug"
prepending it) is the correct option.

with latest svn I get:

Note that these will only be enabled in an assert or debug build.

-Chris