[PATCH] D97866: [lld-macho] Fix & fold reexport-nested-libs test into stub-link.s

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 11:56:21 PST 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/stub-link.s:13
+## another top-level tapi document.
+# RUN: %lld -o %t/with-reexport %S/Inputs/libReexportSystem.tbd -lc++ -framework CoreFoundation %t/test.o
+# RUN: llvm-objdump --bind --no-show-raw-insn -d -r %t/with-reexport | FileCheck %s
----------------
oontvoo wrote:
> Would the test that use `-lReexportSystem` (rather than explicitly specifying it as input) follow any different code path?
it wouldn't cause `findLibrary` to be invoked for `libReexportSystem`, but we have other tests that use `-lFoo`, so that code path is covered


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97866



More information about the llvm-commits mailing list