diff options
Diffstat (limited to 'lldb/source/Core/ValueObjectVariable.cpp')
| -rw-r--r-- | lldb/source/Core/ValueObjectVariable.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Core/ValueObjectVariable.cpp b/lldb/source/Core/ValueObjectVariable.cpp index 86cc46d207b..bba4ba1b47c 100644 --- a/lldb/source/Core/ValueObjectVariable.cpp +++ b/lldb/source/Core/ValueObjectVariable.cpp @@ -105,6 +105,13 @@ ValueObjectVariable::UpdateValue (ExecutionContextScope *exe_scope) DWARFExpression &expr = variable->LocationExpression(); lldb::addr_t loclist_base_load_addr = LLDB_INVALID_ADDRESS; ExecutionContext exe_ctx (exe_scope); + + if (exe_ctx.process) + { + m_data.SetByteOrder(exe_ctx.process->GetByteOrder()); + m_data.SetAddressByteSize(exe_ctx.process->GetAddressByteSize()); + } + if (expr.IsLocationList()) { SymbolContext sc; |

