[PATCH] D112756: [lld-macho] -all_load and -ObjC should not affect LC_LINKER_OPTION flags

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 07:51:01 PDT 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/lc-linker-option.ll:68
+; RUN: llc %t/load-library-foo.ll -o %t/load-library-foo.o -filetype=obj
+; RUN: llvm-ar rcs %t/libfoo.dylib %t/foo.o
+; RUN: %lld -all_load -ObjC %t/load-framework-foo.o %t/load-library-foo.o \
----------------
thakis wrote:
> nit: it's a bit weird to call a static library .dylib -- why not create a real dylib with lld? (up to you though)
whoops, this was a brain fart


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112756



More information about the llvm-commits mailing list