Thanks Duncan, I assume the debug-pass option (the only option with "debug" prepending it) is the correct option. Thanks, Jeff Kunkel On Mon, Sep 20, 2010 at 10:59 AM, Duncan Sands <baldrick at free.fr> wrote:> 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. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
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
On Sep 20, 2010, at 8:33 AM, Duncan Sands wrote:> 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> > -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 > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev