[PATCH] D120941: [lld-macho][nfc] Use %X in mapfile test

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 11:23:40 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG72c5b26f3d65: [lld-macho][nfc] Use %X in mapfile test (authored by int3).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120941/new/

https://reviews.llvm.org/D120941

Files:
  lld/test/MachO/map-file.s


Index: lld/test/MachO/map-file.s
===================================================================
--- lld/test/MachO/map-file.s
+++ lld/test/MachO/map-file.s
@@ -30,16 +30,16 @@
 # CHECK-NEXT: [  2] {{.*}}{{/|\\}}map-file.s.tmp/foo.o
 
 # CHECK-NEXT: # Sections:
-# CHECK-NEXT: # Address    Size              Segment    Section
-# CHECK-NEXT: 0x[[#TEXT]]  0x{{[0-9a-f]+}}   __TEXT  __text
-# CHECK-NEXT: 0x[[#DATA]]  0x{{[0-9a-f]+}}   __TEXT  obj
-# CHECK-NEXT: 0x[[#BSS]]   0x{{[0-9a-f]+}}   __DATA  __common
+# CHECK-NEXT: # Address       Size              Segment  Section
+# CHECK-NEXT: 0x[[#%X,TEXT]]  0x{{[0-9a-f]+}}   __TEXT   __text
+# CHECK-NEXT: 0x[[#%X,DATA]]  0x{{[0-9a-f]+}}   __TEXT   obj
+# CHECK-NEXT: 0x[[#%X,BSS]]   0x{{[0-9a-f]+}}   __DATA   __common
 
 # CHECK-NEXT: # Symbols:
-# CHECK-NEXT: # Address        File  Name
-# CHECK-NEXT: 0x[[#MAIN]]      [  1]  _main
-# CHECK-NEXT: 0x[[#FOO]]       [  2]  _foo
-# CHECK-NEXT: 0x[[#NUMBER]]    [  1]  _number
+# CHECK-NEXT: # Address           File   Name
+# CHECK-NEXT: 0x[[#%X,MAIN]]      [  1]  _main
+# CHECK-NEXT: 0x[[#%X,FOO]]       [  2]  _foo
+# CHECK-NEXT: 0x[[#%X,NUMBER]]    [  1]  _number
 
 # RUN: %lld -map %t/c-string-literal-map %t/c-string-literal.o -o %t/c-string-literal-out
 # RUN: FileCheck --check-prefix=CSTRING %s < %t/c-string-literal-map


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120941.413081.patch
Type: text/x-patch
Size: 1335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220304/1f4a89fe/attachment.bin>


More information about the llvm-commits mailing list