Re: [lldb-dev] e not working when debugging llvm pass

2015-09-15 Thread carr27 via lldb-dev
Hi Greg, Thanks for your response. -fstandalone-debug what was I needed. The rest of this email is just FYI: Originally the command: (lldb) image lookup -t llvm::BasicBlock Just output a blank line. I was using a self compiled version of lldb (release_37) so it seems your #2 was my case.

Re: [lldb-dev] e not working when debugging llvm pass

2015-09-14 Thread Greg Clayton via lldb-dev
> On Sep 13, 2015, at 4:26 PM, carr27 via lldb-dev > wrote: > > Hello, > > I'm working on an LLVM pass that I'm trying to debug it with LLDB, but I'm > running into a few problems. I'm generally following this turtorial [1] but > I run my pass with opt instead from inside clang. So I run: >

[lldb-dev] e not working when debugging llvm pass

2015-09-13 Thread carr27 via lldb-dev
Hello, I'm working on an LLVM pass that I'm trying to debug it with LLDB, but I'm running into a few problems. I'm generally following this turtorial [1] but I run my pass with opt instead from inside clang. So I run: $ lldb ../build/bin/opt (lldb) break set --name MyPass::runOnModule (lldb)