[Target] Move ObjCLanguageRuntime::LookupRuntimeSymbol into LanguageRuntime
authorAlex Langford <apl@fb.com>
Mon, 3 Jun 2019 22:41:48 +0000 (22:41 +0000)
committerAlex Langford <apl@fb.com>
Mon, 3 Jun 2019 22:41:48 +0000 (22:41 +0000)
commit1f8030630be6c5b75c4c2a1edf7658472ff9c0c1
treeb43c17f81fa6cd581210951e29c0bb1573405f7d
parentac062bbad8a65f751a046784f8250e09aac47d84
[Target] Move ObjCLanguageRuntime::LookupRuntimeSymbol into LanguageRuntime

Summary:
LookupRuntimeSymbol seems like a general LanguageRuntime method.
Although no other language runtime currently implements this, there's no
reason another language runtime couldn't use this.

Additionally, this breaks IRExecutionUnit's dependency on
ObjCLanguageRuntime.

Reviewers: compnerd, labath, JDevlieghere, davide

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D62795

llvm-svn: 362458
lldb/include/lldb/Target/LanguageRuntime.h
lldb/include/lldb/Target/ObjCLanguageRuntime.h
lldb/source/Expression/IRExecutionUnit.cpp