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

2015-09-15 Thread carr27 via lldb-dev
. I was hitting the assert because I compiled everything with -DCMAKE_BUILD_TYPE=Debug. I had built 'Debug' to try to diagnose my issue. Thanks for your help, Scott On 09/14/2015 06:42 PM, Greg Clayton wrote: On Sep 13, 2015, at 4:26 PM, carr27 via lldb-dev wrote: Hello, I'

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