kcc added a comment. I think this should go into sanitizer_common, to also cover tsan. (msan has one, so merge msan's one into sanitizer_common). also, would be nice to have a test in test/asan/TestCases/Linux Repository: rL LLVM http://reviews.llvm.org/D17479