Our behavior here already matched ld64, now we have a test for it.
(ld64 even strips the library here if you also pass -needed_library bar.dylib.
That seems wrong to me, and lld honors needed_library in that case.)
Differential D103812
[lld/mac] Add a test for -reexport_library + -dead_strip_dylibs thakis on Jun 7 2021, 7:24 AM. Authored by
Details
Our behavior here already matched ld64, now we have a test for it. (ld64 even strips the library here if you also pass -needed_library bar.dylib.
Diff Detail
|