Merge remote-tracking branch 'origin/master' into llvm16

This commit is contained in:
Andrew Kelley
2023-03-03 12:08:18 -07:00
41 changed files with 1836 additions and 598 deletions
+3 -2
View File
@@ -648,8 +648,9 @@ pub fn defaultAddressSpace(
function,
},
) AddressSpace {
_ = target;
_ = context;
// The default address space for functions on AVR is .flash to produce
// correct fixups into progmem.
if (context == .function and target.cpu.arch == .avr) return .flash;
return .generic;
}