For MCU only C calling convention is allowed, all other calling conventions are not supported.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi Alexey,
Did you consider adding a new class for the MCU target info, e.g. X86MCUTargetInfo? The more MCU-specific stuff that gets added here, the more it makes sense to pull it out into its own class. We already have line 3398-3401 & 3650-3653. We are also going to need to change the data layout string at 3644 for MCU. (Anton Nadolski is working on that.)
- Dave
Comment Actions
Thanks, Alexey! I think this is an improvement.
I don't know if anyone else has an opinion on the name of the new class, but I would prefer X86 over I386, possibly even MCUX86_32TargetInfo.
Thanks,
- Dave