This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Add more options for target AVR when linking with lld
AbandonedPublic

Authored by benshi001 on May 24 2022, 3:04 AM.

Details

Reviewers
aykevl
MaskRay

Diff Detail

Event Timeline

benshi001 created this revision.May 24 2022, 3:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 3:04 AM
benshi001 requested review of this revision.May 24 2022, 3:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 3:04 AM
benshi001 added inline comments.May 24 2022, 3:09 AM
clang/lib/Driver/ToolChains/AVR.cpp
38

We need these information to correctly linking with lld.

581

These three symbols are implicitly added to GNU avr-ld, but we have to add them exeplicitly to lld.

benshi001 added inline comments.May 24 2022, 5:49 PM
clang/lib/Driver/ToolChains/AVR.cpp
395

Add three helper functions for the newly added fields.

benshi001 abandoned this revision.Jun 6 2022, 7:05 PM