[PATCH] D118095: [AVR][clang] Reject non assembly source files for the avr1 family
Ben Shi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 27 20:17:17 PST 2022
benshi001 added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:393
+ if (FamilyName.hasValue() &&
+ (FamilyName->equals("avr1") || FamilyName->equals("avrtiny"))) {
+ // Only '-x assembler-with-cpp' or '-x assembler' is allowed for avr1.
----------------
Currently command `clang xx.c --target=avr -mmcu=attiny40` leads to wrong assembly generated, so we temperarily disable the avrtiny family. Until https://github.com/llvm/llvm-project/issues/53459 is fixed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118095/new/
https://reviews.llvm.org/D118095
More information about the cfe-commits
mailing list