[lldb-dev] What does this piece of hijack code do?

Todd Fiala tfiala at google.com
Tue Aug 19 15:04:12 PDT 2014


Hey guys,

In the local MacOSX debugging case when PlatformDarwin::Attach () is
eventually called, what is this piece of code really doing?

                ListenerSP listener_sp (new
Listener("lldb.PlatformDarwin.attach.hijack"));
                attach_info.SetHijackListener(listener_sp);
                process_sp->HijackProcessEvents(listener_sp.get());

What will be that hijacker's responsibility?

Thanks!
-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140819/f2860be9/attachment.html>


More information about the lldb-dev mailing list