Re: [lldb-dev] Asserts in StringRef::front

2016-10-06 Thread Zachary Turner via lldb-dev
Thanks for the heads up. I do run with asserts, so I'm not sure why I didn't see this particular failure. In any case i'll go back and look through my changes for any other occurrences of this. Most of the time args were being checked before being used. Like the code would go: const char *arg

[lldb-dev] Asserts in StringRef::front

2016-10-06 Thread Jim Ingham via lldb-dev
I fixed a bug in CommandObject::Execute that cause test-suite crashes when running with an Assert build of llvm (r283479.) The test was doing: break modify -c '' which is the way you unset a condition on a breakpoint. So the StringRef for that option value was empty, and it appears that you a