[PATCH] D123764: [llvm-objdump] Implemented PrintBranchImmAsAddress for MIPS

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 00:10:31 PDT 2022


MaskRay added inline comments.


================
Comment at: lld/test/ELF/mips-jalr-non-functions.s:57
 # CHECK-NEXT: nop
-# CHECK-NEXT: b	8 <untyped>
+# CHECK-NEXT: b	0x103f8 <untyped>
 # CHECK-NEXT: nop
----------------
`b {{.*}} <untyped>`

Use patterns to make test updating smooth when we need to adjust the layout.

Use this pattern for all lld/test/ELF tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123764



More information about the llvm-commits mailing list