[PATCH] D76252: [lld-macho] Add basic support for linking against dylibs

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 23:25:34 PDT 2020


int3 added inline comments.


================
Comment at: lld/test/MachO/dylink.s:7
+# RUN: lld -flavor darwinnew -o %t/dylink -Z -L%t -lhello -lgoodbye %t/dylink.o
+# RUN: (obj2yaml %t/dylink; llvm-objdump -d %t/dylink) | FileCheck %s
+
----------------
MaskRay wrote:
> Should obj2yaml and llvm-objdump -d tests be separated?
not possible with the current setup; I'm using obj2yaml to get the address of the GOT, and to check that the order of the symbols references in it match the addresses printed by objdump


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76252





More information about the llvm-commits mailing list