benshi001 added a comment.

In D123200#3436043 <https://reviews.llvm.org/D123200#3436043>, @aykevl wrote:

> What about chip families other than avr2 (the default)? Some have a different 
> PC pointer size (1-3 bytes, therefore affecting the ABI), some have different 
> instructions, etc.

There are two options `CMAKE_CXX_FLAGS` and `CMAKE_C_FLAGS" can be specified 
when doing cmake compiler-rt, we can specify the instruction set via them.

Since libgcc-avr has unique source code but built into several different 
libgcc.a files with different instruction set, I expect compiler-rt would be 
done in the way.

And of cource this patch just is an initial support, we still need much more 
patches to make it fully functional.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123200/new/

https://reviews.llvm.org/D123200

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to