labath added a comment.

In http://reviews.llvm.org/D17088#350005, @zturner wrote:

> I think technically there are some platforms that cannot be both a host and a 
> target.  ios and anything involving a simulator comes to mind.  But, if the 
> only "gotcha" to having both of them be in the same enum is that it's up to 
> the programmer to make sure he's using the right value in the context, then 
> perhaps it's not the end of the world.


Although unlikely, I don't think there is an inherent reason lldb could not run 
there, so yeah, I think one list is better.

> BTW, there were some things I wasn't sure whether to add to the enum here.  
> `android`, `remote_android`, `ios-simulator`, etc.  Should I add them, or 
> should I leave it as is for now and let other people fix up their own 
> platforms?


I think we should let people add targets when they need to, so let's leave 
these out for now. As I said, right now we treat android as a flavour of linux. 
When we change that we can add `android` and `linux_all` (or something like 
that) to the list.


http://reviews.llvm.org/D17088



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

Reply via email to