Hello,

I've attached a patch to add basic support for detecting problems with
initialization order in C++ to AddressSanitizer.
This patch relies on changes to the instrumentation pass, and I've
sent a patch for this to LLVM.
This is definitely a first draft, and it leans toward false positives
(function local statics, in particular), but it does detect the most
basic cases of the "static initialization order fiasco".
For now, I'd like to get a working baseline/infrastructure committed,
in order to avoid any monster commits.


All the best,
Reid

Attachment: compilerrt-asan-initializers.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to