[dsymutil] Try to find lipo first besides dsymutil before looking up the PATH.
authorFrederic Riss <friss@apple.com>
Thu, 8 Oct 2015 22:35:53 +0000 (22:35 +0000)
committerFrederic Riss <friss@apple.com>
Thu, 8 Oct 2015 22:35:53 +0000 (22:35 +0000)
commita642d2c6cbb00a82e111f32f2792594ac8092cca
tree11d5084aa797db812fcbe189ecc694b14b8faf18
parent9dd9ad6bac63f0e3a8b1be083067b36f68846753
[dsymutil] Try to find lipo first besides dsymutil before looking up the PATH.

Even if we don't have it in PATH, lipo should usually exist in the same directory
as dsymutil. Keep the fallback looking up the PATH, it's very useful when
testing a non-installed executable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249762 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/MachOUtils.cpp
tools/dsymutil/MachOUtils.h
tools/dsymutil/dsymutil.cpp