[Lldb-commits] [Please Review][Patch] lock process when launching it

Greg Clayton gclayton at apple.com
Tue Sep 4 13:31:11 PDT 2012


% svn commit 
Sending        source/Target/Process.cpp
Transmitting file data .
Committed revision 163163.

I modified the patch a bit and removed the logging because if anything goes wrong, the error string will be set into the process exit status and it will show up in the debug session.

On Aug 31, 2012, at 10:18 AM, "Kopec, Matt" <matt.kopec at intel.com> wrote:

> Ping. Any comments?
>  
> From: lldb-commits-bounces at cs.uiuc.edu [mailto:lldb-commits-bounces at cs.uiuc.edu] On Behalf Of Kopec, Matt
> Sent: Monday, August 27, 2012 7:02 PM
> To: lldb-commits at cs.uiuc.edu
> Subject: [Lldb-commits] [Please Review][Patch] lock process when launching it
>  
> Hi,
>  
> A process isn’t being locked for read/write when launching. Also, shortly after launching, a process will stop and become unlocked. On Linux, unlocking a lock that hasn’t been locked results in undefined behavior.
>  
> Thanks,
> Matt
> <lldb-svn-lock.patch>_______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits





More information about the lldb-commits mailing list