title: Trying to debug an LLVM pass with gdb , gdb says no debugging symbols found ?
body: <p>I want to debug my LLVM pass with gdb. I've built llvm with the default make so debugging info should be added.</p>
  
  <p>When I do gdb user/bin/opt it says:</p>
  
  <p>Reading symbols from opt...(no debugging symbols found)...done.</p>
  
  <p>This shouldn't happen because according to the LLVM documentation , 'opt has a lot of debugging info'  </p>
  
  <p><a href="http://llvm.org/docs/WritingAnLLVMPass.html#debughints" rel="nofollow">http://llvm.org/docs/WritingAnLLVMPass.html#debughints</a></p>
  
  <p>Is this because I haven't built LLVM correctly ? Any help would be appreciated.</p>