We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137c182 commit 5c32a48Copy full SHA for 5c32a48
llvm/lib/Target/AVR/AVRAsmPrinter.cpp
@@ -267,8 +267,8 @@ bool AVRAsmPrinter::doFinalization(Module &M) {
267
// AVRs that have a separate program memory (that's most AVRs) store
268
// .rodata sections in RAM,
269
// but XMEGA3 family maps all flash in the data space.
270
- // Invoking __do_copy_data with 0 bytes to copy will crash,
271
- // so we let the loader handle this for newer devices.
+ // Forcing pulling in __do_copy_data with 0 bytes to copy is a (minor)
+ // waste, so we let the loader handle this for newer devices.
272
if (!(SubTM->hasFeatureSetFamilyXMEGA2() ||
273
SubTM->hasFeatureSetFamilyXMEGA3() ||
274
SubTM->hasFeatureSetFamilyXMEGA4()))
0 commit comments