[Lldb-commits] [lldb] [lldb][test] TestDataFormatterLibcxxStringSimulator.py: add new padding layout (PR #108375)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 13 03:02:39 PDT 2024


================
@@ -77,7 +89,12 @@ template <class _CharT, class _Traits, class _Allocator> class basic_string {
     };
 #else // !SUBCLASS_PADDING
 
+#ifdef UB_PADDING
     unsigned char __padding[sizeof(value_type) - 1];
----------------
Michael137 wrote:

Good point! I'll rename it to `NON_STANDARD_PADDING`

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


More information about the lldb-commits mailing list