<div dir="ltr">Hi.<div><br></div><div><div>I'm working on AVR backend/target and it's almost working:</div><div><a href="https://github.com/dylanmckay/llvm">https://github.com/dylanmckay/llvm</a></div></div><div><br></div><div>I've read how to add LLVM backend/Target:</div><div><a href="http://llvm.org/docs/WritingAnLLVMBackend.html">http://llvm.org/docs/WritingAnLLVMBackend.html</a><br></div><div><br></div><div>But how can i add target (AVR) to Clang?</div><div>Is it designed to add targets easily or should i hack the sources?</div><div><br></div><div>That makes sense as some information is lost at the moment, f.e. attribute:</div><div>__attribute__ ((section .. ))<br></div><div><br></div><div>Regards, Anton.</div><div><br></div></div>