From 7fb56d0a1afeaf061e01ac6c6d3bd147f5a0c09d Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 1 Feb 2011 01:31:41 +0000 Subject: Endian patch from Kirk Beitz that allows better cross platform building. llvm-svn: 124643 --- lldb/source/Core/Address.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/Address.cpp') diff --git a/lldb/source/Core/Address.cpp b/lldb/source/Core/Address.cpp index 967ccd0d3c2..d138f02b876 100644 --- a/lldb/source/Core/Address.cpp +++ b/lldb/source/Core/Address.cpp @@ -171,7 +171,7 @@ ReadCStringFromMemory (ExecutionContextScope *exe_scope, const Address &address, buf[k_buf_len] = '\0'; // NULL terminate // Byte order and address size don't matter for C string dumping.. - DataExtractor data (buf, sizeof(buf), eByteOrderHost, 4); + DataExtractor data (buf, sizeof(buf), lldb::endian::InlHostByteOrder(), 4); size_t total_len = 0; size_t bytes_read; Address curr_address(address); -- cgit v1.2.3