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

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 11:39:16 PST 2021


alexshap added inline comments.


================
Comment at: lld/test/MachO/arm64-relocs.s:4
+# RUN: %lld -dylib -arch arm64 -lSystem -o %t %t.o
+# RUN: (llvm-objdump --syms %t; llvm-objdump --macho -d --section=__const %t) | FileCheck %s
+
----------------
wouldn't llvm-objdump --syms --macho -d --section=__const %t be sufficient ? (+ reordering the checks)


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