Title: [278674] trunk/Tools
Revision
278674
Author
[email protected]
Date
2021-06-09 14:28:59 -0700 (Wed, 09 Jun 2021)

Log Message

[test-webkit-lldb] 3 dump_class_layout_unittest.TestDumpClassLayout tests failing with Xcode 12.5
https://bugs.webkit.org/show_bug.cgi?id=226540

Unreviewed test gardening.

* lldb/dump_class_layout_unittest.py: Rebaseline tests.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (278673 => 278674)


--- trunk/Tools/ChangeLog	2021-06-09 21:23:28 UTC (rev 278673)
+++ trunk/Tools/ChangeLog	2021-06-09 21:28:59 UTC (rev 278674)
@@ -94,6 +94,15 @@
         * TestWebKitAPI/Tests/WebCore/MarkedText.cpp:
         (TestWebKitAPI::TEST):
 
+2021-06-09  Ryan Haddad  <[email protected]>
+
+        [test-webkit-lldb] 3 dump_class_layout_unittest.TestDumpClassLayout tests failing with Xcode 12.5
+        https://bugs.webkit.org/show_bug.cgi?id=226540
+
+        Unreviewed test gardening.
+
+        * lldb/dump_class_layout_unittest.py: Rebaseline tests.
+
 2021-06-08  Sam Weinig  <[email protected]>
 
         Add copy of std::span so that we can use it pre-moving to c++20

Modified: trunk/Tools/lldb/dump_class_layout_unittest.py (278673 => 278674)


--- trunk/Tools/lldb/dump_class_layout_unittest.py	2021-06-09 21:23:28 UTC (rev 278673)
+++ trunk/Tools/lldb/dump_class_layout_unittest.py	2021-06-09 21:28:59 UTC (rev 278674)
@@ -318,7 +318,7 @@
   +1 < :1>   unsigned int bitfield4 : 1
   +1 < :2>   unsigned long bitfield5 : 2
   +1 < :1>   <UNUSED BITS: 1 bit>
-  +2 <  2>   <PADDING: 2 bytes>
+  +2 <  1>   <PADDING: 1 bytes>
   +4 <  4>   int intMember
   +8 < :1>   unsigned int bitfield7 : 1
   +8 < :9>   unsigned int bitfield8 : 9
@@ -326,8 +326,8 @@
   +9 < :5>   <UNUSED BITS: 5 bits>
  +10 <  6>   <PADDING: 6 bytes>
 Total byte size: 16
-Total pad bytes: 8
-Padding percentage: 50.00 %"""
+Total pad bytes: 7
+Padding percentage: 49.22 %"""
         actual_layout = debugger_instance.layout_for_classname('ClassWithPaddedBitfields')
         self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
 
@@ -341,7 +341,7 @@
   +1 < :1>       unsigned int bitfield4 : 1
   +1 < :2>       unsigned long bitfield5 : 2
   +1 < :1>       <UNUSED BITS: 1 bit>
-  +2 <  2>       <PADDING: 2 bytes>
+  +2 <  1>       <PADDING: 1 bytes>
   +4 <  4>       int intMember
   +8 < :1>       unsigned int bitfield7 : 1
   +8 < :9>       unsigned int bitfield8 : 9
@@ -352,8 +352,8 @@
  +16 < :7>   <UNUSED BITS: 7 bits>
  +17 <  7>   <PADDING: 7 bytes>
 Total byte size: 24
-Total pad bytes: 15
-Padding percentage: 62.50 %"""
+Total pad bytes: 14
+Padding percentage: 61.98 %"""
         actual_layout = debugger_instance.layout_for_classname('MemberHasBitfieldPadding')
         self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
 
@@ -367,7 +367,7 @@
   +1 < :1>       unsigned int bitfield4 : 1
   +1 < :2>       unsigned long bitfield5 : 2
   +1 < :1>       <UNUSED BITS: 1 bit>
-  +2 <  2>       <PADDING: 2 bytes>
+  +2 <  1>       <PADDING: 1 bytes>
   +4 <  4>       int intMember
   +8 < :1>       unsigned int bitfield7 : 1
   +8 < :9>       unsigned int bitfield8 : 9
@@ -377,7 +377,7 @@
  +10 < :7>   <UNUSED BITS: 7 bits>
  +11 <  5>   <PADDING: 5 bytes>
 Total byte size: 16
-Total pad bytes: 7
-Padding percentage: 43.75 %"""
+Total pad bytes: 6
+Padding percentage: 42.97 %"""
         actual_layout = debugger_instance.layout_for_classname('InheritsFromClassWithPaddedBitfields')
         self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to