Hello,<br>I am using gdb to debug the -instcount pass. The steps I followed were:<br>1. gdb opt<br>2. break llvm::PassManager::run<br>3. run -stats -analyze -instcount filename.bc<br><br>I got the bc file using -emit-llvm option as following: llvm-gcc -O3 -emit-llvm filename.c -c -o filename.bc<br>
But when I started debugging, the debugger never really went into my bitecode file, filename.bc and it returned me the statistics regarding different number of instructions. I am wondering how it did all those calculations without even going into the bitecode file?<br>
<br clear="all"><br>-- <br>Thanks,<br><b>HIMANSHU SHEKHAR</b><br><span style="font-family:arial,helvetica,sans-serif"></span><br>