HostInfoPosix::ComputeSupportExeDirectory doesn't work on Android because it tries to lookup lldb.so (which doesn't exist on Android since lldb-server uses static linking) and then replaces "/lib" path entry with "/bin".
Since on Android we use the same binary as platform and llgs ComputeSupportExeDirectory can return a current executable's directory.
Details
Details
- Reviewers
chaoren vharron tberghammer
Diff Detail
Diff Detail
Event Timeline
Comment Actions
AFFECTED FILES
/lldb/trunk/include/lldb/Host/android/HostInfoAndroid.h /lldb/trunk/source/Host/android/HostInfoAndroid.cpp
USERS
ovyalov (Author)