Do attempt to ask the impl_backend for the live address of a const result if none is stored in the object itself; this is for symmetry with GetAddressOf()
llvm-svn: 224143
diff --git a/lldb/source/Core/ValueObjectConstResultImpl.cpp b/lldb/source/Core/ValueObjectConstResultImpl.cpp
index 6df8b5c..7d94592 100644
--- a/lldb/source/Core/ValueObjectConstResultImpl.cpp
+++ b/lldb/source/Core/ValueObjectConstResultImpl.cpp
@@ -194,7 +194,7 @@
return m_address_of_backend;
}
else
- return lldb::ValueObjectSP();
+ return m_impl_backend->ValueObject::AddressOf(error);
}
lldb::addr_t