[Lldb-commits] [PATCH] D11102: Set the default language to use when evaluating to that of the frame's CU.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 4 08:55:01 PDT 2015

jingham added a subscriber: jingham.
jingham added a comment.

It isn't technically necessary, but on OS X it is very common for people to want to examine global app state from wherever and that is always ObjC, so we'd tick off our users if we forced them to explicitly dial up ObjC in other contexts.  For other platforms it would be fine to choose just C++.  And if the user explicitly dials up C++ (by passing --language) it should be fine to not add ObjC.  But if we're setting it automatically on OS X there's a pretty strong expectation that you can just run an expression and ObjC types will be available.




More information about the lldb-commits mailing list