[AVR][clang] Add '$SYSROOT/avr' to possible avr-libc locations

Reviewed by: benshi001

Differential Revision: https://reviews.llvm.org/D107672
This commit is contained in:
Matt Jacobson 2021-08-07 10:23:14 +08:00 committed by Ben Shi
parent 5a2a179695
commit 71e71067f3
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ llvm::Optional<unsigned> GetMCUSectionAddressData(StringRef MCUName) {
}
const StringRef PossibleAVRLibcLocations[] = {
"/avr",
"/usr/avr",
"/usr/lib/avr",
};