Fix a bug in my change to ModulesDidLoad in r357955.
authorJason Molenda <jmolenda@apple.com>
Mon, 22 Apr 2019 22:42:29 +0000 (22:42 +0000)
committerJason Molenda <jmolenda@apple.com>
Mon, 22 Apr 2019 22:42:29 +0000 (22:42 +0000)
commita38b8c8abce0233e7ffc8d9d8de2436505877d59
tree3d50924f3b3936b70aea3d5cf684170dc26bc1ad
parentd44a7be17b67b6a9d919a217715eeba168225448
Fix a bug in my change to ModulesDidLoad in r357955.
In the process of hoisting the LoadScriptingResourceForModule
out of Target::ModuleAdded and into Target::ModulesDidLoad,
I had ModulesDidLoad fetching the Target's entire image list
and look for scripting resources in those -- instead of only
looking for scripting resources in the modules that had
been added to the target's image list.

<rdar://problem/50065315>

llvm-svn: 358929
lldb/source/Target/Target.cpp