diff options
author | Greg Clayton <gclayton@apple.com> | 2011-02-01 01:31:41 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-02-01 01:31:41 +0000 |
commit | 7fb56d0a1afeaf061e01ac6c6d3bd147f5a0c09d (patch) | |
tree | ed8a1dddc335d4e969a0dc84f93e35b32ef877af /lldb/source/Core/Address.cpp | |
parent | a1c833769e9dbcd33418265e597eef300d6aa678 (diff) | |
download | bcm5719-llvm-7fb56d0a1afeaf061e01ac6c6d3bd147f5a0c09d.tar.gz bcm5719-llvm-7fb56d0a1afeaf061e01ac6c6d3bd147f5a0c09d.zip |
Endian patch from Kirk Beitz that allows better cross platform building.
llvm-svn: 124643
Diffstat (limited to 'lldb/source/Core/Address.cpp')
-rw-r--r-- | lldb/source/Core/Address.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |