[Lldb-commits] [PATCH] D36347: Add new script to launch lldb and set breakpoints for diagnostics all diagnostics seen.

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 19 17:42:04 PDT 2017

zturner added a subscriber: lldb-commits.
zturner added a comment.

One possible reason for why this never got any traction is that `lldb-commits` wasn't added as a subscriber.  While it's true that the tagged people should have chimed in, having the whole commits list will get some more visibility.  I never saw this come to my inbox.

I think this would be most suitable in the `lldb/examples` folder.

I can't really review this thoroughly, because it relies on a bash script, and I use Windows where we bash isn't really a thing.  My bash is rusty, but it looks like you're embedding a python script in the bash script?  It might be good if this were just an lldb script command.  Take a look at `command script add` in LLDB, and in the `examples` folder for some examples of existing commands that work this way.  The nice thing about doing it this way is that you could just be inside LLDB and write `(lldb) break-diag -Wcovered-switch`, for example, which would be a much tighter integration with the debugger.


More information about the lldb-commits mailing list