[Lldb-commits] [lldb] r147209 - /lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp

Jim Ingham jingham at apple.com
Thu Dec 22 16:30:10 PST 2011


Author: jingham
Date: Thu Dec 22 18:30:10 2011
New Revision: 147209

URL: http://llvm.org/viewvc/llvm-project?rev=147209&view=rev
Log:
Fixed a thinko when returning a struct like {short a; short b; short c; float d}.

Modified:
    lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp

Modified: lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp?rev=147209&r1=147208&r2=147209&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp Thu Dec 22 18:30:10 2011
@@ -838,7 +838,7 @@
                         {
                             // We are at the beginning of one of the eightbytes, so check the next element (if any)
                             if (idx == num_children - 1)
-                                in_gpr = true;
+                                in_gpr = false;
                             else
                             {
                                 uint32_t next_field_bit_offset;





More information about the lldb-commits mailing list