[PATCH] D126192: [Driver] Support linking with lld for target AVR

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 21:54:56 PDT 2022


benshi001 added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:528
+          CmdArgs.push_back(Args.MakeArgString("-T"));
+          CmdArgs.push_back(Args.MakeArgString(Prefix + *FamilyName + ".x"));
+        }
----------------
Though I can seperate my AVR project to two steps,

1. `clang -c ...`
2. `ld.lld` with these options exeplicitly specified.

it is much more convenient if we can use a single `clang ...` command including  all.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126192/new/

https://reviews.llvm.org/D126192



More information about the cfe-commits mailing list