[Target] Generalize some behavior in Target::SymbolsDidLoad
authorAlex Langford <apl@fb.com>
Mon, 3 Jun 2019 23:12:11 +0000 (23:12 +0000)
committerAlex Langford <apl@fb.com>
Mon, 3 Jun 2019 23:12:11 +0000 (23:12 +0000)
commitb978f72058bae8c1082da7c55e0dafce7ab0d1ff
treeacabb444a496d26f78243d27567cf3a93b9a6f8a
parentb3650868f617984691e3171e2f5d475534467ed4
[Target] Generalize some behavior in Target::SymbolsDidLoad

Summary:
SymbolsDidLoad is currently only implemented for ObjCLanguageRuntime,
but that doesn't mean that it couldn't be useful for other Langauges. Although
this change seems like it's generalizing for the sake of purity, this removes
Target's dependency on ObjCLanguageRuntime.

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

llvm-svn: 362461
lldb/include/lldb/Target/LanguageRuntime.h
lldb/include/lldb/Target/ObjCLanguageRuntime.h
lldb/source/Target/Target.cpp