mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 17:07:36 +08:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user