This is an archive of the discontinued LLVM Phabricator instance.

[llvm-libtool-darwin] Parse and ignore -syslibroot
ClosedPublic

Authored by keith on Sep 20 2022, 1:37 PM.

Details

Summary

cctools libtool allows you to link dynamic libraries by passing through
a number of arguments to ld64. Because of this the default arguments
libtool receives in Xcode contains arguments that only matter in that
case. This change ignores this argument, at least until we ever support
that dynamic use case, so that you can use llvm-libtool-darwin as a
drop-in replacement in Xcode for cctools libtool. There are more
arguments we could ignore for this case, but we can probably add those
as the use case comes up.

Diff Detail

Event Timeline

keith created this revision.Sep 20 2022, 1:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2022, 1:37 PM
keith requested review of this revision.Sep 20 2022, 1:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2022, 1:37 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 3 2022, 9:54 AM
This revision was automatically updated to reflect the committed changes.