Assert that Process::FindInEnvPath() is passed a relative path.
authorNico Weber <nicolasweber@gmx.de>
Fri, 24 Apr 2015 22:18:46 +0000 (22:18 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 24 Apr 2015 22:18:46 +0000 (22:18 +0000)
commit941813305546c1ee937e6aaeb96b541aa9097295
tree321243369f61bc73724c9072cc8e49ba1f7b13ac
parent8efc1906901401ecf6d72975aca4a8a40e1706d4
Assert that Process::FindInEnvPath() is passed a relative path.

It misbehaves with absolute paths. (So does path::append().)
Goes with clang r235787.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Process.cpp