[clang] [clang][Driver][AVR] Reject c/c++ compilation for avr1 devices (PR #111798)

Ben Shi via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 18:28:45 PDT 2024


================
@@ -400,6 +400,14 @@ void AVRToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
 void AVRToolChain::addClangTargetOptions(
     const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args,
     Action::OffloadKind DeviceOffloadKind) const {
+  // Reject C/C++ compilation for avr1 devices.
----------------
benshi001 wrote:

I have updated my comments to "Reject C/C++ compilation for avr1 devices since they have no SRAM."

https://github.com/llvm/llvm-project/pull/111798


More information about the cfe-commits mailing list