summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2015-11-05 23:52:05 +0000
committerJim Ingham <jingham@apple.com>2015-11-05 23:52:05 +0000
commit2125907ebdc5f2adc733c3b3d1f238c574bf9cc9 (patch)
tree8fb3610d97feea63fbeab647f34b694de88f5a6b
parent60bdafbc16c21f889c708b62b54d2e18ff19a0f5 (diff)
downloadbcm5719-llvm-2125907ebdc5f2adc733c3b3d1f238c574bf9cc9.tar.gz
bcm5719-llvm-2125907ebdc5f2adc733c3b3d1f238c574bf9cc9.zip
Add a generic API to return the Concrete type for a given abstract type
name and the execution context in which it is realized. llvm-svn: 252240
-rw-r--r--lldb/include/lldb/Target/LanguageRuntime.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/include/lldb/Target/LanguageRuntime.h b/lldb/include/lldb/Target/LanguageRuntime.h
index 85aacdf5a51..686ec5ea347 100644
--- a/lldb/include/lldb/Target/LanguageRuntime.h
+++ b/lldb/include/lldb/Target/LanguageRuntime.h
@@ -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
OpenPOWER on IntegriCloud