Once per login session.  You may also need to run:

sudo /usr/sbin/DevToolsSecurity --enable

if you've never debugged anything before.  You should only need to do this once 
per clean OS install.

Jim

> On Mar 24, 2016, at 2:53 PM, Zachary Turner via lldb-commits 
> <lldb-commits@lists.llvm.org> wrote:
> 
> Is it one time until I reboot, or until the end of the test suite?
> 
> On Thu, Mar 24, 2016 at 2:51 PM Enrico Granata <egran...@apple.com> wrote:
>> On Mar 24, 2016, at 2:44 PM, Zachary Turner via lldb-commits 
>> <lldb-commits@lists.llvm.org> wrote:
>> 
>> It's updated now.  I'm still getting errors building from inside Xcode when 
>> I use the IDE, but it works from the command line.  But running the test 
>> pops up hundreds of dialogs asking me to enter my password to take control 
>> of another process, so I'm not sure how to disable that.  
>> 
> 
> If you type your password once, then you should be able to dismiss all other 
> prompts with no detriment.
> Essentially, the first time you try to actually use the lldb_codesign 
> certificate to take control of an inferior process, OS X asks for your 
> password for extra security
> 
>> Anyway I updated my patch if you want to give it a go.  I'm not sure why I 
>> didn't get any linker errors, because I didn't update the Xcode project to 
>> include ClangUtil.cpp, so I was expecting some undefined symbol errors.
>> 
>> On Thu, Mar 24, 2016 at 2:34 PM Greg Clayton <clayb...@gmail.com> wrote:
>> I usually select "desktop" as the target. Is this patch up to date? If so, I 
>> can apply and compile it and let you know what the results are.
>> 
>> > On Mar 24, 2016, at 2:21 PM, Zachary Turner <ztur...@google.com> wrote:
>> >
>> > Yes I was doing it from inside the IDE though.  I selected lldb-tool, 
>> > 64-bit, and hit Product -> Build
>> >
>> > On Thu, Mar 24, 2016 at 2:11 PM Greg Clayton <clayb...@gmail.com> wrote:
>> > You you building with Xcode? You should be building by checking out lldb 
>> > at the top level, then typing:
>> >
>> > % xcodebuild -configuration Debug
>> >
>> >
>> > > On Mar 24, 2016, at 12:31 PM, Zachary Turner <ztur...@google.com> wrote:
>> > >
>> > > Having trouble building on OSX.
>> > >
>> > > ERROR:root:Unable to find swig executable: 'module' object has no 
>> > > attribute 'OSError'
>> > >
>> > > Command /bin/sh failed with exit code 250
>> > >
>> > >
>> > >
>> > > But "which swig" finds it just fine.  It's been a long time since I've 
>> > > built on OSX so I don't know if something has changed.
>> > >
>> > > In any case, let me know if there's something I should be doing.
>> > >
>> > >
>> > > On Wed, Mar 23, 2016 at 4:12 PM Zachary Turner <ztur...@google.com> 
>> > > wrote:
>> > > zturner added a comment.
>> > >
>> > > It's been a while since I've used my Mac.  I'll fire it up and see if I 
>> > > can get it going, but no promises.  I'll update tomorrow
>> > >
>> > >
>> > > http://reviews.llvm.org/D18381
>> > >
>> > >
>> > >
>> >
>> 
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits@lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
> 
> 
> Thanks,
> - Enrico
> 📩 egranata@.com ☎️ 27683
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to