[libcxx-commits] [libcxx] [libcxx] Poison memory in variant destroy (PR #101048)

Chris Cotter via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 5 19:10:27 PDT 2024


ccotter wrote:

In my testing this will need an enhancement on the MSAN side too to understand that `t.~T()` where `T` is a trivial type like `double` would emit `__sanitizer_dtor_callback` (or equivalent) to mark the bytes as poisoned. @vitalybuka could you chime in too on the MSAN side? Just want to make sure libcxx and MSAN folks are on the same page before I proceed.

https://github.com/llvm/llvm-project/pull/101048


More information about the libcxx-commits mailing list