[PATCH] D22842: Do not remove empty lifetime.start/lifetime.end ranges

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 15:27:40 PDT 2016


eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.

I think this is correct from the sanitizer standpoint. It would help asan report use-after-scope for accesses after lifetime.end.

This may have performance implications (lots of poisoning/unpoisoning of locals in tight loops), but that can be fixed on the ASan side.


https://reviews.llvm.org/D22842





More information about the llvm-commits mailing list