From ebca38a4c5f279caf6b3aa38adea5c2f005fc9cd Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Thu, 27 Sep 2012 15:31:38 +0000 Subject: [PATCH] Fixed a typo. llvm-svn: 164777 --- lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp b/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp index 7a5bd9d..f7312c6e 100644 --- a/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp +++ b/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp @@ -589,7 +589,7 @@ ABISysV_x86_64::SetReturnValueObject(lldb::StackFrameSP &frame_sp, lldb::ValueOb DataExtractor data; size_t num_bytes = new_value_sp->GetData(data); uint32_t offset = 0; - if (num_bytes <= 64) + if (num_bytes <= 8) { uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); -- 2.7.4