[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

Louis Dionne via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 26 12:05:43 PDT 2025


================
@@ -78,23 +80,232 @@ public:
                       __split_buffer,
                       void>;
 
-  pointer __first_;
-  pointer __begin_;
-  pointer __end_;
-  _LIBCPP_COMPRESSED_PAIR(pointer, __cap_, allocator_type, __alloc_);
+  struct __data {
+    pointer __first_ = nullptr;
+    pointer __begin_ = nullptr;
+#ifdef _LIBCPP_ABI_SIZE_BASED_CONTAINERS
+    size_type __size_ = 0;
+    size_type __cap_ = 0;
+    allocator_type __alloc_;
----------------
ldionne wrote:

```suggestion
    _LIBCPP_NO_UNIQUE_ADDRESS allocator_type __alloc_;
```

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


More information about the lldb-commits mailing list