[Lldb-commits] [lldb] r224143 - 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()
Enrico Granata
egranata at apple.com
Fri Dec 12 11:05:45 PST 2014
Author: enrico
Date: Fri Dec 12 13:05:44 2014
New Revision: 224143
URL: http://llvm.org/viewvc/llvm-project?rev=224143&view=rev
Log:
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()
Modified:
lldb/trunk/source/Core/ValueObjectConstResultImpl.cpp
Modified: lldb/trunk/source/Core/ValueObjectConstResultImpl.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObjectConstResultImpl.cpp?rev=224143&r1=224142&r2=224143&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObjectConstResultImpl.cpp (original)
+++ lldb/trunk/source/Core/ValueObjectConstResultImpl.cpp Fri Dec 12 13:05:44 2014
@@ -194,7 +194,7 @@ ValueObjectConstResultImpl::AddressOf (E
return m_address_of_backend;
}
else
- return lldb::ValueObjectSP();
+ return m_impl_backend->ValueObject::AddressOf(error);
}
lldb::addr_t
More information about the lldb-commits
mailing list