Call remote platform GetSupportedArchitectureAtIndex if connected to remote.
authorRobert Flack <flackr@gmail.com>
Tue, 12 May 2015 13:22:37 +0000 (13:22 +0000)
committerRobert Flack <flackr@gmail.com>
Tue, 12 May 2015 13:22:37 +0000 (13:22 +0000)
commite49b8e065ea10c2f33297e5ad1217d0c28b17ba4
tree041a5f3d35ce77f30983284d2188787dda676548
parent70605f7d2230aebbccb9c0edc7504446f95f412f
Call remote platform GetSupportedArchitectureAtIndex if connected to remote.

Updated PlatformLinux::GetSupportedArchitectureAtIndex to call the
PlatformRemoteGdbServer::GetSupportedArchitectureAtIndex if connected remotely.
This should return the correct thing for android (to fix those failing tests),
and is also working for mac to linux.

Test Plan:
./dotest.py $DOTEST_OPTS -t -p TestCallStdStringFunction.py
The above still passes when running mac->linux indicating it successfully
identified PlatformLinux as the target platform and converted the mmap options
correctly.

Differential Revision: http://reviews.llvm.org/D9672

llvm-svn: 237128
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp