Author: jingham Date: Thu Nov 5 17:52:05 2015 New Revision: 252240 URL: http://llvm.org/viewvc/llvm-project?rev=252240&view=rev Log: Add a generic API to return the Concrete type for a given abstract type name and the execution context in which it is realized.
Modified: lldb/trunk/include/lldb/Target/LanguageRuntime.h Modified: lldb/trunk/include/lldb/Target/LanguageRuntime.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/LanguageRuntime.h?rev=252240&r1=252239&r2=252240&view=diff ============================================================================== --- lldb/trunk/include/lldb/Target/LanguageRuntime.h (original) +++ lldb/trunk/include/lldb/Target/LanguageRuntime.h Thu Nov 5 17:52:05 2015 @@ -55,6 +55,16 @@ public: Address &address, Value::ValueType &value_type) = 0; + // This call should return a CompilerType given a generic type name + // and an ExecutionContextScope in which one can actually fetch + // any specialization information required. + virtual CompilerType + GetConcreteType (ExecutionContextScope *exe_scope, + ConstString abstract_type_name) + { + return CompilerType(); + } + // This should be a fast test to determine whether it is likely that this value would // have a dynamic type. virtual bool _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits