benshi001 added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:428
+}
+
 void AVR::Linker::ConstructJob(Compilation &C, const JobAction &JA,
----------------
1. Though I expect each device family has its own optimized build of 
compiler-rt binary, I found most targets such as arm/x86 use unique 
`libclang-rt.builtins.a`. So I will follow this tradition for avr, a compitable 
avr binary built with the minimal instruction set is used.

2. I have to explicitly inherit `getCompilerRTPath`, since AVR can never be a 
host environment, the default path `$resource_dir/lib` is not suitable for AVR.


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

https://reviews.llvm.org/D127186

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

Reply via email to