[cfe-dev] How to add target to Clang?

Anton Smirnov dev at antonsmirnov.name
Wed Nov 26 09:13:58 PST 2014


I'm working on AVR backend/target and it's almost working:

I've read how to add LLVM backend/Target:

But how can i add target (AVR) to Clang?
Is it designed to add targets easily or should i hack the sources?

That makes sense as some information is lost at the moment, f.e. attribute:
__attribute__ ((section .. ))

Regards, Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141126/71dddf83/attachment.html>

More information about the cfe-dev mailing list