mhjacobson created this revision. mhjacobson added reviewers: benshi001, MaskRay, dylanmckay. Herald added a subscriber: Jim. mhjacobson requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
The paths in PossibleAVRLibcLocations are appended with `/lib/` and `/include/` to find the binaries and headers, respectively, for avr-libc. It's common for avr-libc to live at `$SYSROOT/avr/{lib,include}/`, e.g. when `$SYSROOT` is, for example, `/opt/local/`. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D107672 Files: clang/lib/Driver/ToolChains/AVR.cpp Index: clang/lib/Driver/ToolChains/AVR.cpp =================================================================== --- clang/lib/Driver/ToolChains/AVR.cpp +++ clang/lib/Driver/ToolChains/AVR.cpp @@ -298,6 +298,7 @@ } const StringRef PossibleAVRLibcLocations[] = { + "/avr", "/usr/avr", "/usr/lib/avr", };
Index: clang/lib/Driver/ToolChains/AVR.cpp =================================================================== --- clang/lib/Driver/ToolChains/AVR.cpp +++ clang/lib/Driver/ToolChains/AVR.cpp @@ -298,6 +298,7 @@ } const StringRef PossibleAVRLibcLocations[] = { + "/avr", "/usr/avr", "/usr/lib/avr", };
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits