[all-commits] [llvm/llvm-project] d882ca: [Driver] Check whether Gentoo-specific configurati...
dmantipov via All-commits
all-commits at lists.llvm.org
Wed Sep 23 10:26:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d882ca7f1f1dee7d812d6b1ae060b5f671ab9ebc
https://github.com/llvm/llvm-project/commit/d882ca7f1f1dee7d812d6b1ae060b5f671ab9ebc
Author: Dmitry Antipov <dmantipov at yandex.ru>
Date: 2020-09-23 (Wed, 23 Sep 2020)
Changed paths:
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/Gnu.h
Log Message:
-----------
[Driver] Check whether Gentoo-specific configuration directory exists
Check whether /etc/env.d/gcc exists before trying to read from any
file from there. This saves a few OS calls on a non-Gentoo system.
Differential Revision: https://reviews.llvm.org/D87143
More information about the All-commits
mailing list