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

Yury Gribov tetra2005 at gmail.com
Wed Feb 4 03:56:33 PST 2015


> Yes, I think enabling -Wglobal-constructors for ASan (and for all the rest sanitizers) will be great.


FYI it was relatively easy to get this working on Linux (with ~500 lines of changes). Unfortunately Windows compiler lacks too many necessary features: explicit initialization of array members, constexpr, unrestricted unions (all still missing in VS2013 and we still use VS2012). Having #if WINDOWS all over the place isn't an option as well so I'm afraid we are out of luck.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7171

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list