diff options
| author | Enrico Granata <egranata@apple.com> | 2016-06-24 17:48:01 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2016-06-24 17:48:01 +0000 |
| commit | fbaab6d57300243438b38b9879e49460f3889fe0 (patch) | |
| tree | edb1e1098210cfda590185c60ca87b703055745d /lldb/source/Plugins/Language/ObjC | |
| parent | ec3dc98802f71d25cd21136b153f3ebead798cb4 (diff) | |
| download | bcm5719-llvm-fbaab6d57300243438b38b9879e49460f3889fe0.tar.gz bcm5719-llvm-fbaab6d57300243438b38b9879e49460f3889fe0.zip | |
Fix an issue where LLDB would show the key and value of a single entry NSDictionary in the wrong order
Fixes rdar://26478641
llvm-svn: 273695
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC')
| -rw-r--r-- | lldb/source/Plugins/Language/ObjC/NSDictionary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp index 60924faeeaa..cdebd6b3c23 100644 --- a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp +++ b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp @@ -593,10 +593,10 @@ lldb_private::formatters::NSDictionary1SyntheticFrontEnd::GetChildAtIndex (size_ Error error; - lldb::addr_t key_at_idx = process_sp->ReadPointerFromMemory(key_ptr, error); + lldb::addr_t value_at_idx = process_sp->ReadPointerFromMemory(key_ptr, error); if (error.Fail()) return nullptr; - lldb::addr_t value_at_idx = process_sp->ReadPointerFromMemory(value_ptr, error); + lldb::addr_t key_at_idx = process_sp->ReadPointerFromMemory(value_ptr, error); if (error.Fail()) return nullptr; |

