[PATCH] D97104: [lld-macho] Add test for a variety of arm64 relocations

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 19:07:10 PST 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/arm64-relocs.s:45
+## These generate ARM64_RELOC_UNSIGNED symbol relocations
+## XXX: how to generate UNSIGNED section relocations?
+_ptr_1:
----------------
smeenai wrote:
> Do local symbols (as in symbols prefixed with `L`) do the trick?
Nope. From further investigation, it seems that UNSIGNED section relocations are only generated for compact unwind sections in arm64. So to test that case, I'll extend the compact unwind test to cover arm64.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97104



More information about the llvm-commits mailing list