[Driver] Support linking to compiler-rt for target AVR
commit44a647d21d946f8cc3eb7c1fea33311cf778f303
authorBen Shi <ben.shi@streamcomputing.com>
Sat, 13 Aug 2022 12:23:25 +0000 (13 20:23 +0800)
committerBen Shi <ben.shi@streamcomputing.com>
Sat, 13 Aug 2022 12:40:21 +0000 (13 20:40 +0800)
treede0a305edec364a1a41b9cad2a7de7c6772693ae
parent99ef0ddea3c39aca07c6309b7a5b3cfc4ce1ab19
[Driver] Support linking to compiler-rt for target AVR

Reviewed By: aykevl

Differential Revision: https://reviews.llvm.org/D128133
clang/lib/Driver/ToolChains/AVR.cpp
clang/lib/Driver/ToolChains/AVR.h
clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/avr/libclang_rt.builtins.a [new file with mode: 0644]
clang/test/Driver/avr-toolchain.c