[libcxx-commits] [libcxx] [libc++] Replace `__compressed_pair` with `[[no_unique_address]]` (PR #76756)
Alexander Kornienko via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 30 10:46:05 PDT 2024
alexfh wrote:
Now we found a number of other problems related to debuggability of the code under LLDB. Specifically, `std::vector<>` and `std::string` contents can't be inspected. @labath and @slackito have been looking at the LLDB side of this and have some hypotheses. They have more context and can explain the issue better (and likely provide a reproducer), but overall it looks like a non-trivial problem with no obvious solution yet. Current ideas revolve around debug information quality and its consumption by LLDB.
I wonder if debuggability of code using libc++ is considered an important trait of libc++, and this issue may be viewed as a reason for a revert (or to guard this with a feature macro)? For us it's definitely the case, but I see how priorities may be different for libc++ maintainers. Unfortunately, local revert of this commit proved to be problematic due to a number of later libc++ changes in the same files.
https://github.com/llvm/llvm-project/pull/76756
More information about the libcxx-commits
mailing list