[libcxx-commits] [PATCH] D144155: [ASan] Unpoisoning vectors memory before deallocation

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 15 22:41:52 PST 2023


MaskRay added a comment.

`clear()` calls `__annotate_shrink(__old_size);` which eventually calls `__sanitizer_annotate_contiguous_container`. The inserted `__annotate_delete` calls `__sanitizer_annotate_contiguous_container` as well. Isn't it wasteful?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144155/new/

https://reviews.llvm.org/D144155



More information about the libcxx-commits mailing list