[libcxx-commits] [libcxx] [libc++] Replace `__compressed_pair` with `[[no_unique_address]]` (PR #76756)
Michael Buch via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 4 07:27:36 PST 2024
================
@@ -231,7 +199,7 @@ def __init__(self, val):
def to_string(self):
"""Build a python string from the data whether stored inline or separately."""
- value_field = _value_of_pair_first(self.val["__r_"])
+ value_field = self.val["__rep_"]
----------------
Michael137 wrote:
FWIW, LLDB does explicitly check for the old and new formats from within the pretty-printers. E.g.,: https://github.com/llvm/llvm-project/blob/7b6e0d9fc3993f3e3df596fd16d97e2ed2e1d0aa/lldb/examples/synthetic/libcxx.py#L743-L749
https://github.com/llvm/llvm-project/pull/76756
More information about the libcxx-commits
mailing list