This is an archive of the discontinued LLVM Phabricator instance.

Add back ignored option --no-add-needed
AbandonedPublic

Authored by MaskRay on Mar 30 2022, 11:56 PM.

Details

Reviewers
tstellar
Summary

This partially reverts commit 815a1207bfe121c8dcf3804a4f4638e580f63519.
gcc 12.0.1 passes this option to the linker when compiling with -fuse-ld=lld.

Diff Detail

Event Timeline

tstellar created this revision.Mar 30 2022, 11:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2022, 11:56 PM
tstellar requested review of this revision.Mar 30 2022, 11:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2022, 11:56 PM
MaskRay commandeered this revision.Apr 30 2022, 1:02 PM
MaskRay edited reviewers, added: tstellar; removed: MaskRay.

Added in c29c19cb5327624dd31fcb776f8fbe66ca1011bb with correct commit message.

gcc 12.0.1 passes this option to the linker when compiling with -fuse-ld=lld.

This is not true. This is RedHat gcc's behavior.

MaskRay abandoned this revision.Apr 30 2022, 1:02 PM