aboutsummaryrefslogtreecommitdiff
path: root/source/API/SBPlatform.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-03-04 11:18:34 +0000
committerTamas Berghammer <tberghammer@google.com>2015-03-04 11:18:34 +0000
commitcff25d7a4b03256b2a255fc71488a42599b906de (patch)
tree870f26f323da9017ce54eb91c1d0d5a1a0e3e201 /source/API/SBPlatform.cpp
parent36b0065424085506888d28e8f329648c4b599212 (diff)
downloadlldb-cff25d7a4b03256b2a255fc71488a42599b906de.tar.gz
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 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@231232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/API/SBPlatform.cpp')
-rw-r--r--source/API/SBPlatform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/API/SBPlatform.cpp b/source/API/SBPlatform.cpp
index b23891d39..a52287020 100644
--- a/source/API/SBPlatform.cpp
+++ b/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