diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-03-04 11:18:34 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-03-04 11:18:34 +0000 |
commit | ccd28a147bad554204d9140584c73629b2b31361 (patch) | |
tree | 228dd86441af1b8773becebeca0a2a604f8a114c /lldb/source/API/SBPlatform.cpp | |
parent | 43f2d971915408d168cd4d952de764acecd23fca (diff) | |
download | bcm5719-llvm-ccd28a147bad554204d9140584c73629b2b31361.tar.gz bcm5719-llvm-ccd28a147bad554204d9140584c73629b2b31361.zip |
Fix expectation for TestPlatformCommand.test_shell
* Create expectation based on target platform
* Add custom expectation for remote android target
Differential revision: http://reviews.llvm.org/D8031
llvm-svn: 231232
Diffstat (limited to 'lldb/source/API/SBPlatform.cpp')
-rw-r--r-- | lldb/source/API/SBPlatform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBPlatform.cpp b/lldb/source/API/SBPlatform.cpp index b23891d39c2..a52287020d1 100644 --- a/lldb/source/API/SBPlatform.cpp +++ b/lldb/source/API/SBPlatform.cpp @@ -378,7 +378,7 @@ SBPlatform::GetTriple() PlatformSP platform_sp(GetSP()); if (platform_sp) { - ArchSpec arch(platform_sp->GetRemoteSystemArchitecture()); + ArchSpec arch(platform_sp->GetSystemArchitecture()); if (arch.IsValid()) { // Const-ify the string so we don't need to worry about the lifetime of the string |