Darwin - fix intermitent crashes in import crashinfo
authorVince Harron <vince@nethacker.com>
Wed, 13 May 2015 05:00:23 +0000 (05:00 +0000)
committerVince Harron <vince@nethacker.com>
Wed, 13 May 2015 05:00:23 +0000 (05:00 +0000)
commit05df698d2b94db6d5955bfa734d6554ffd67ea1c
treee953b56d54dbadf2b31245926d8e0c38720c4f15
parenta64bad83383c1502f193d0917431041fb28b1dff
Darwin - fix intermitent crashes in import crashinfo

Summary:
"import crashinfo" was probably failing because multiple dotest invocations
are all trying to compile crashinfo.so at the same time.

I've put a mutex around the compile step to prevent this.

Reviewers: clayborg, chying

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D9732

llvm-svn: 237230
lldb/test/dotest.py
lldb/test/lock.py [new file with mode: 0644]