[PATCH] [ASan] Make BlockingMutex really linker initialized.

Yury Gribov y.gribov at samsung.com
Wed Jan 28 06:07:11 PST 2015


On 01/28/2015 02:47 AM, David Blaikie wrote:
>> +#if SANITIZER_WINDOWS
>> +  // Windows does not currently support LinkerInitialized
>>     explicit BlockingMutex(LinkerInitialized);
>> +#else
>> +  explicit constexpr BlockingMutex(LinkerInitialized)
>> +      : opaque_storage_ {0, },
>
> This is something I haven't seen before (though seems obvious enough) - any
> idea if it's supported on the full compiler support matrix (except
> windows?)?

GCC 4.6 and Clang 3.1 have no problem with this code.




More information about the llvm-commits mailing list