[PATCH] D120940: [lld-macho][nfc] Avoid using absolute addresses in cgprofile-icf.s

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 16:00:54 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGf7547558c9f1: [lld-macho][nfc] Avoid using absolute addresses in cgprofile-icf.s (authored by int3).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120940

Files:
  lld/test/MachO/cgprofile-icf.s


Index: lld/test/MachO/cgprofile-icf.s
===================================================================
--- lld/test/MachO/cgprofile-icf.s
+++ lld/test/MachO/cgprofile-icf.s
@@ -34,13 +34,12 @@
 
 .subsections_via_symbols
 
-# CHECK:      0000000100000290 T A
-# CHECK-NEXT: 0000000100000298 T C
-# CHECK-NEXT: 0000000100000298 T D
-# CHECK-NEXT: 00000001000002a0 T B
-
-# NOICF:      0000000100000290 T A
-# NOICF-NEXT: 0000000100000298 T B
-# NOICF-NEXT: 00000001000002a0 T C
-# NOICF-NEXT: 00000001000002a8 T D
-
+# CHECK:      [[#%.16x,A:]]   T A
+# CHECK-NEXT: [[#%.16x,A+8]]  T C
+# CHECK-NEXT: [[#%.16x,A+8]]  T D
+# CHECK-NEXT: [[#%.16x,A+16]] T B
+
+# NOICF:      [[#%.16x,A:]]   T A
+# NOICF-NEXT: [[#%.16x,A+8]]  T B
+# NOICF-NEXT: [[#%.16x,A+16]] T C
+# NOICF-NEXT: [[#%.16x,A+24]] T D


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120940.412853.patch
Type: text/x-patch
Size: 800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220304/e9ec3d79/attachment.bin>


More information about the llvm-commits mailing list