[libcxx-commits] [libcxx] [ASan][libc++] Update string ASan annotations to Zero-overhead (PR #76165)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 21 08:56:40 PST 2023
================
@@ -858,7 +865,7 @@ private:
__set_long_pointer(__allocation);
__set_long_size(__size);
}
- __annotate_new(__size);
+ _IF_ASAN() __annotate_new(__size);
----------------
EricWF wrote:
Please always use `{ ... }` to scope these. The macro introduces enough magic.
https://github.com/llvm/llvm-project/pull/76165
More information about the libcxx-commits
mailing list