[cfe-dev] [LLVMdev] What does "debugger tuning" mean?

Chris Lattner clattner at apple.com
Mon May 4 12:33:47 PDT 2015

> On May 4, 2015, at 11:11 AM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote:
> My design tries to improve on a not-very-smooth situation today, where there is already "tuning" but it is based largely on the target—even though we know for a fact that target is not always a good proxy for choosing the expected debugger.  By making the expected debugger explicit, we separate these concerns, and clarify the intent.  The existing tuning has default behavior clearly intended to support GDB, LLDB, and now the SCE (PS4) debugger; therefore, my proposal made those three cases explicit.  

FWIW, I agree with this rationale.  The question isn’t whether debugger tuning is good/bad or necessary/unnecessary.  It is apparently necessary, and the question is how to best factor it in the compiler.  Making this be explicit based on the debugger does seem a lot more preferable to me than implicitly tied to the target.

The platform integrator can then set the default for their target, but allow the user to override it if they want to do something unusual.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150504/3f6e9419/attachment.html>

More information about the cfe-dev mailing list