[Driver] Use VFS to perform all distribution checks
authorMichal Gorny <mgorny@gentoo.org>
Mon, 17 Oct 2016 18:07:15 +0000 (18:07 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Mon, 17 Oct 2016 18:07:15 +0000 (18:07 +0000)
commit9e1b6e108edb84effa57545caf2a83f22e4d4f37
tree1872b102d2ee2b6cd6f99a282e3f44f2bea47e2a
parentff5ee6a36adba25b33f1c6498d8974c0b14b89c9
[Driver] Use VFS to perform all distribution checks

Use the VFS provided by D.getVFS() for all distribution checks,
including those performing read of the release file. Requested
by @bruno on D24954.

Differential Revision: https://reviews.llvm.org/D25641

llvm-svn: 284403
clang/lib/Driver/ToolChains.cpp