[PATCH] D94611: MC: AArch64: Add support for gotpage_lo15

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 12:36:14 PST 2021


MaskRay added inline comments.


================
Comment at: llvm/test/MC/AArch64/arm64-elf-relocs.s:254
+// CHECK: ldr d22, [x23, :gotpage_lo15:sym+7]
+// CHECK-OBJ-LP64: R_AARCH64_LD64_GOTPAGE_LO15 sym
+// CHECK-OBJ-LP64: R_AARCH64_LD64_GOTPAGE_LO15 sym
----------------
FileCheck without --match-full-lines allows trailing unmatched substring. Here you probably need `sym{{$}}` to make sure there is no trailing part.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94611



More information about the llvm-commits mailing list