From c74275bc4ae734d93a994dbe7d071f79c0137039 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 22 Sep 2015 19:45:52 +0000 Subject: Move the logic to post-process dynamic types for ValueObject purposes from the ValueObjects to the LanguageRuntime plugins This is meant to cover cases such as the obvious Base *base = new Derived(); where GetDynamicTypeAndAddress(base) would return the type "Derived", not "Derived *" llvm-svn: 248315 --- .../LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h') diff --git a/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h b/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h index 0dd867d0104..ee79a6f94d8 100644 --- a/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h +++ b/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h @@ -41,6 +41,10 @@ namespace lldb_private { Address &address, Value::ValueType &value_type); + virtual TypeAndOrName + FixUpDynamicType(const TypeAndOrName& type_and_or_name, + const CompilerType& static_type); + virtual bool CouldHaveDynamicValue (ValueObject &in_value); -- cgit v1.2.3