[lldb-dev] Calling Host methods from Platform plugins

Zachary Turner zturner at google.com
Wed Aug 20 16:29:22 PDT 2014


There are many examples of this, but just to pick one at random,
PlatformDarwin::GetSharedModule() has a codepath which
calls Host::GetBundleDirectory.  This is probably the correct thing to do
if it's the local platform, but it seems to be always the wrong thing to do
if this is not the local platform.  Is there something I'm misunderstanding
that makes this work?  Shouldn't this kind of thing be behind an IsHost()
check?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140820/1499e4fb/attachment.html>


More information about the lldb-dev mailing list