summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/EmulateInstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/EmulateInstruction.cpp')
-rw-r--r--lldb/source/Core/EmulateInstruction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/EmulateInstruction.cpp b/lldb/source/Core/EmulateInstruction.cpp
index 5aeaae778fb..3718c12d320 100644
--- a/lldb/source/Core/EmulateInstruction.cpp
+++ b/lldb/source/Core/EmulateInstruction.cpp
@@ -11,6 +11,7 @@
#include "lldb/Core/DataExtractor.h"
#include "lldb/Core/StreamString.h"
+#include "lldb/Host/Endian.h"
using namespace lldb;
using namespace lldb_private;
@@ -25,7 +26,7 @@ EmulateInstruction::EmulateInstruction
ReadRegister read_reg_callback,
WriteRegister write_reg_callback
) :
- m_byte_order (lldb::eByteOrderHost),
+ m_byte_order (endian::InlHostByteOrder()),
m_addr_byte_size (sizeof (void *)),
m_baton (baton),
m_read_mem_callback (read_mem_callback),
OpenPOWER on IntegriCloud