diff options
author | Enrico Granata <egranata@apple.com> | 2015-09-22 19:45:52 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-09-22 19:45:52 +0000 |
commit | c74275bc4ae734d93a994dbe7d071f79c0137039 (patch) | |
tree | 010b9bf99048722a21f77358d2eadccbd6e8d4c5 /lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h | |
parent | d60db64e7dd4b430d74d883dfa8cb84c22c336c0 (diff) | |
download | bcm5719-llvm-c74275bc4ae734d93a994dbe7d071f79c0137039.tar.gz bcm5719-llvm-c74275bc4ae734d93a994dbe7d071f79c0137039.zip |
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
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h')
-rw-r--r-- | lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |