MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:430
+  // libgcc distributed with avr-gcc always named 'libgcc.a' even on windows.
+  return (Twine("libclang_rt.") + Component + Arch + ".a").str();
+}
----------------
benshi001 wrote:
> This method decides the file name of compiler-rt, it is expected to be 
> 
> `libclang_rt.builtins-avrfamily.a`, such as
> 
> `libclang_rt.builtins-avr51.a`
> `libclang_rt.builtins-avrtiny.a`
> `libclang_rt.builtins-avrxmega3.a`
> 
> 
In `-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on` mode this should be 
`lib/clang/$version/lib/$triple/libclang_rt.xxx.a` where there is no 
`-microarch` infix.


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

https://reviews.llvm.org/D123612

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

Reply via email to