diff options
author | Sean Callanan <scallanan@apple.com> | 2014-01-07 23:15:26 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2014-01-07 23:15:26 +0000 |
commit | 65b320f783f409f80de90538719b212131b9e90f (patch) | |
tree | f8f658c8ae34906503f6a8be5bf30ee960078b48 /lldb/source/Expression/Materializer.cpp | |
parent | 3d5bb3266ff25a4169a28730b91b8d0ce277dd2f (diff) | |
download | bcm5719-llvm-65b320f783f409f80de90538719b212131b9e90f.tar.gz bcm5719-llvm-65b320f783f409f80de90538719b212131b9e90f.zip |
Fixed a bug where the expression parser doesn't
materialize a variable in a register correctly
if the variable is a pointer. This fixes a
regression introduced by my commit of Oct. 22nd
(r193191).
llvm-svn: 198718
Diffstat (limited to 'lldb/source/Expression/Materializer.cpp')
-rw-r--r-- | lldb/source/Expression/Materializer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Expression/Materializer.cpp b/lldb/source/Expression/Materializer.cpp index 8731fbebd14..87caad677d4 100644 --- a/lldb/source/Expression/Materializer.cpp +++ b/lldb/source/Expression/Materializer.cpp @@ -461,7 +461,9 @@ public: } else { - lldb::addr_t addr_of_valobj = valobj_sp->GetAddressOf(); + AddressType address_type = eAddressTypeInvalid; + const bool scalar_is_load_address = false; + lldb::addr_t addr_of_valobj = valobj_sp->GetAddressOf(scalar_is_load_address, &address_type); if (addr_of_valobj != LLDB_INVALID_ADDRESS) { Error write_error; |