Displaying 1 result from an estimated 1 matches for "__swift3_fieldmd".
2018 Jul 14
2
Lowering a reasonably complex struct seems to create over complex and invalid assembly fixups on some targets
...) to i32),
i32 trunc
(i64 sub
(
i64 ptrtoint ([18 x i8]* @2 to i64),
i64 add
(i64 ptrtoint (<{ i32, i16, i16, i32, i32, i32, i32 }>* @_TMRfV4main10Brightness to i64),
i64 20)
) to i32)
}>, section "__TEXT,__swift3_fieldmd, regular, no_dead_strip", align 4
…on a couple of targets, it seems to produce invalid MC graphs that then fail to compile.
My chosen platform is AVR but it looks like it probably produces strange fixups on MIPS too.
I was initially chatting to the AVR rust team about this but I’m not sure it’...