[PATCH] D97438: [lld-macho] Change loadReexport to handle the case where a TAPI re-exports to reference documents nested within other TBD.

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 11:43:44 PST 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/Inputs/iPhoneSimulator.sdk/usr/lib/libSystem.tbd:7-9
+reexported-libraries:
+  - archs:      [i386, x86_64]
+    libraries:  ['/usr/lib/system/libsystem_sim_pthread.dylib']
----------------
int3 wrote:
> how is this different from the `re-exports` list on line 12 below?
> 
> (Scanning through TextStub.cpp, it seems like `reexported-libraries` is a TBD v4 thing, but this file is TBD v3, so I'm not sure it's doing anything. Are the system TBDs on your machine v4?)
(perhaps this is why your test wasn't failing as expected)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97438



More information about the llvm-commits mailing list