diff options
author | Enrico Granata <egranata@apple.com> | 2015-09-22 19:58:02 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-09-22 19:58:02 +0000 |
commit | 7eed48779d1fd107b2a1d56e07b006a9cf7a45fd (patch) | |
tree | 2b70660b964433d2988acce483b24ec653b53874 /lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp | |
parent | c74275bc4ae734d93a994dbe7d071f79c0137039 (diff) | |
download | bcm5719-llvm-7eed48779d1fd107b2a1d56e07b006a9cf7a45fd.tar.gz bcm5719-llvm-7eed48779d1fd107b2a1d56e07b006a9cf7a45fd.zip |
On second thought, amend the previous patch to pass itself the ValueObject& for the static value instead of just its type
llvm-svn: 248316
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp')
-rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp index 4ff235d1677..b84bae6e491 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp @@ -270,8 +270,10 @@ AppleObjCRuntime::GetDynamicTypeAndAddress (ValueObject &in_value, } TypeAndOrName -AppleObjCRuntime::FixUpDynamicType(const TypeAndOrName& type_and_or_name, const CompilerType& static_type) +AppleObjCRuntime::FixUpDynamicType (const TypeAndOrName& type_and_or_name, + ValueObject& static_value) { + CompilerType static_type(static_value.GetCompilerType()); Flags static_type_flags(static_type.GetTypeInfo()); TypeAndOrName ret(type_and_or_name); |