[llvm-commits] [llvm] r116426 - /llvm/trunk/include/llvm/PassSupport.h
sebastian.redl at getdesigned.at
Thu Oct 14 01:08:55 PDT 2010
On 13.10.2010 22:24, Owen Anderson wrote:
> Author: resistor
> Date: Wed Oct 13 15:24:34 2010
> New Revision: 116426
> URL: http://llvm.org/viewvc/llvm-project?rev=116426&view=rev
> Take advantage of C++'s thread-safe static local initialization to simplify thread-safe pass initialization.
There's no such thing in C++03! GCC has it, but MS's static local
initialization not thread-safe. See:
Scroll down a bit, there's a yellow box there. And that page is for
VS2010, so even their newest compiler doesn't support it.
More information about the llvm-commits