[PATCH] D145646: [clang][driver] Enable '-flto' on AVR

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 21 20:42:21 PDT 2023


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

"Close" seems more appropriate to me as this isn't a bug (previously not an intended use case).



================
Comment at: clang/test/Driver/avr-ld.c:59
+// LINKS: {{".*ld.*"}} {{.*}} "--defsym=__DATA_REGION_ORIGIN__=0x800100" "-plugin" {{.*}}  "-plugin-opt=mcpu=atmega328"
+// LINKS-NOT: "thinlto"
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145646



More information about the cfe-commits mailing list