This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] minimally handle option -dynamic
ClosedPublic

Authored by gkm on Sep 21 2020, 2:11 PM.

Details

Reviewers
int3
Group Reviewers
Restricted Project
Commits
rG7afbf3192dc5: [lld-macho] minimally handle option -dynamic
Summary

Stifle the warning for unimplemented option -dyamic, since it is already the default. Add Config::staticLink and skeletal support for altering the flag, but otherwise leave the option -static as hidden and its warning in place.

Diff Detail

Event Timeline

gkm created this revision.Sep 21 2020, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2020, 2:11 PM
gkm requested review of this revision.Sep 21 2020, 2:11 PM
int3 accepted this revision.Sep 21 2020, 2:35 PM
int3 added a subscriber: int3.
int3 added inline comments.
lld/MachO/Driver.cpp
527

avoid auto

This revision is now accepted and ready to land.Sep 21 2020, 2:35 PM
gkm updated this revision to Diff 293315.Sep 21 2020, 7:14 PM
gkm marked an inline comment as done.
  • s/auto/opt::Arg/
This revision was automatically updated to reflect the committed changes.