[Lldb-commits] [lld] [lldb] [llvm] [llvm][llvm-readobj] Print COFF RawDataSize as hex (PR #221224)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 4 06:47:33 PDT 2026


================
@@ -39,7 +39,7 @@ _main:                                  # @main
 // CHECK:     Name:                 .text
 // CHECK:     VirtualSize:          0
 // CHECK:     VirtualAddress:       0
-// CHECK:     RawDataSize:          [[TextSize:[0-9]+]]
+// CHECK:     RawDataSize:          0x[[#%X,TextSize:]]
----------------
DavidSpickett wrote:

This is one of the more complex changes. We capture it as hex, it's then stored in TextSize as a number, and expected as decimal later.

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


More information about the lldb-commits mailing list