[Lldb-commits] [lld] [lldb] [llvm] [llvm][llvm-readobj] Print COFF RawDataSize as hex (PR #221224)
James Henderson via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 7 02:07:26 PDT 2026
================
@@ -81,7 +81,7 @@ _main: # @main
// CHECK: Name: .data
// CHECK: VirtualSize: 0
// CHECK: VirtualAddress: 0
-// CHECK: RawDataSize: {{[0-9]+}}
+// CHECK: RawDataSize: 0x{{[0-9A-F]+}}
----------------
jh7370 wrote:
By the way, if you fancy doing it (in a separate PR, since we'd want to change the other fields too), these can also be replaced with numeric substitutions to simplify(?) the checks. IIRC, the format is something like `0x[[#%X]]`, but it's been a while, so you'd best double-check it.
https://github.com/llvm/llvm-project/pull/221224
More information about the lldb-commits
mailing list