Tweak r199835 to use can_execute() instead of exists()
authorAlp Toker <alp@nuanti.com>
Wed, 22 Jan 2014 22:17:51 +0000 (22:17 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 22 Jan 2014 22:17:51 +0000 (22:17 +0000)
commitac2d2e0a3db575c216e0a6f8f5dae59adcf08e07
tree247b825ad110744d3c3abe95c9cf4866c1b82187
parenta73e920f0982137083ba6291842cd81f4100fb0e
Tweak r199835 to use can_execute() instead of exists()

The execution code path crashes if it can't execute the binary so we might as
well take precautions here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199844 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lli/lli.cpp