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
This commit is contained in:
Enrico Granata
2015-09-22 19:45:52 +00:00
parent d60db64e7d
commit c74275bc4a
8 changed files with 105 additions and 44 deletions

View File

@@ -313,6 +313,13 @@ RenderScriptRuntime::GetDynamicTypeAndAddress(ValueObject &in_value, lldb::Dynam
return false;
}
TypeAndOrName
RenderScriptRuntime::FixUpDynamicType(const TypeAndOrName& type_and_or_name,
const CompilerType& static_type)
{
return type_and_or_name;
}
bool
RenderScriptRuntime::CouldHaveDynamicValue(ValueObject &in_value)
{