summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/Value.cpp')
-rw-r--r--lldb/source/Core/Value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/Value.cpp b/lldb/source/Core/Value.cpp
index 41483c7c7cc..7a9733dc2c4 100644
--- a/lldb/source/Core/Value.cpp
+++ b/lldb/source/Core/Value.cpp
@@ -522,7 +522,7 @@ Value::GetValueAsData (ExecutionContext *exe_ctx, clang::ASTContext *ast_context
break;
case eValueTypeScalar:
- data.SetByteOrder (eByteOrderHost);
+ data.SetByteOrder (lldb::endian::InlHostByteOrder());
data.SetAddressByteSize(sizeof(void *));
if (m_value.GetData (data))
return error; // Success;
@@ -603,7 +603,7 @@ Value::GetValueAsData (ExecutionContext *exe_ctx, clang::ASTContext *ast_context
case eValueTypeHostAddress:
address = m_value.ULongLong(LLDB_INVALID_ADDRESS);
- data.SetByteOrder(eByteOrderHost);
+ data.SetByteOrder(lldb::endian::InlHostByteOrder());
data.SetAddressByteSize(sizeof(void *));
address_type = eAddressTypeHost;
break;
OpenPOWER on IntegriCloud