aprantl added inline comments.

================
Comment at: lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm:13
 #include "lldb/Host/macosx/HostInfoMacOSX.h"
+#include "lldb/Core/Debugger.h"
 #include "lldb/Utility/Args.h"
----------------
labath wrote:
> We shouldn't have Host->Core dependencies. Could you report the error in the 
> caller?
How strong to you fell about this?
It would be an odd interface. `GetXcodeSDKPath` also caches negative results 
because negative lookups are really slow. This means we would only raise an 
error on the first call and not on the subsequent ones. I can do that, but it 
also feels weird. I guess we could cache the error string as well?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138060/new/

https://reviews.llvm.org/D138060

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to