[libcxx-commits] [libcxx] [libc++] Refactor memory allocation in basic_string (PR #128423)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 8 13:59:07 PDT 2025


boomanaiden154 wrote:

Looks like both of these ended up being false positives. The addition of `__rep_.__s = __short()` in `~basic_string` caught some real races under TSan where the destructor was called, but the object wasn't fully freed. Sorry for the noise on that one.

>From what I can gather in the bug tracker, the Fuchsia issue ended up being a build system issue (non ASan instrumented libcxx symbols were getting pulled in).

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


More information about the libcxx-commits mailing list