Tag build swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a
[GCDA] Unlock arc file before closing it

The GCDA writer closed the arc file before unlocking it. This causes an
EBADF while unlocking the file, and opens us up to racy behavior.

Fixes PR26847.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@262779 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit e3e346be2f4b629db67037023f83df7e0bd058ba)
1 file changed