>>! In D5495#27, @zturner wrote:
> I'm not seeing the changes to HostInfoPosix and HostThreadPosix that I
> suggested.  Are those still coming in a followup?

With Android, it's *mostly* Linux (at the kernel level) except we have a whole 
slew of different runtime libraries that differ.  So, for much of the behavior, 
it will be like Linux/POSIX, but with certain libc calls and whatnot that just 
don't exist.  Ideally we minimize how much we differ and only when needed.

Tong, can you take a look at that?  If we need a Linux-derived Android variant 
of these classes, this might be a good time to look at those.  Thanks.

> (paraphrased) how do you launch on Android, then?

In general you don't.  The Android zygote takes care of launching for userland, 
and debuggers usually run attach-only.

That's just a half-truth, though.  We do have low-level, internal capabilities 
for launching,  but since that is not a supported path for developers, they are 
not exposed in a way we can access with POSIX-like calls.  The launch code 
might end up only showing up in an AOSP environment but, in any event, the 
attach path is the crucial one for Android right now.

http://reviews.llvm.org/D5495



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to