[Lldb-commits] [PATCH] LLGS Android target support
clayborg at gmail.com
Fri Nov 7 11:23:27 PST 2014
1 - Remove all Android editline stuff and just define LLDB_DISABLE_LIBEDIT when building using the Android NDK.
2 - You must implement HostThreadPosix or a native way to run threads when running on Android otherwise, LLDB won't run. It makes heavy use of threading and this is required as these classes are used to create threads within LLDB itself. The better solution if Android isn't POSIX based is to implement your own subclass of HostNativeThreadBase and then modify HostNativeThread.h to include the correct version for Andriod.
3 - Move timegm() and any other wrapper functions into the host layer somewhere and don't inline them in functions. Like Jim requested, move these all into single file and then #include the android host header as needed.
More information about the lldb-commits