Skip to content
Commit 95dd08e4 authored by Rui Ueyama's avatar Rui Ueyama
Browse files

COFF: Make ArchiveFile::getMember lock-free.

The previous code was not even safe with MSVC 2013 because the compiler
doesn't guarantee that static variables (in this case, a mutex) are
initialized in a thread-safe manner.

llvm-svn: 241481
parent 80c33546
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment