[Driver] Bring back "Clean up Debian multiarch /usr/include/<triplet> madness"
authorFangrui Song <i@maskray.me>
Wed, 24 Mar 2021 22:25:36 +0000 (15:25 -0700)
committerFangrui Song <i@maskray.me>
Wed, 24 Mar 2021 22:25:37 +0000 (15:25 -0700)
commit35dd6470de847636c212d7e0cd4d7ac2995679cc
treecd43d040e393574419d8095273f99946faafc1b8
parentbfbfd83f147f0e02e652f3ae2635dd834c2e6b46
[Driver] Bring back "Clean up Debian multiarch /usr/include/<triplet> madness"

This reverts commit aae84b8e3939e815bbc1e64b3b30c0f10b055be4.

The chromium goma folks want to use a Debian sysroot without
lib/x86_64-linux-gnu to perform `clang -c` but no link action. The previous
commit has removed D.getVFS().exists check to make such usage work.
clang/lib/Driver/ToolChains/Linux.cpp